Created
January 22, 2016 13:45
-
-
Save EkkoG/798f1a0e9ee01ffc8f4a to your computer and use it in GitHub Desktop.
dns2socks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh /etc/rc.common | |
# Copyright (C) 2006-2011 OpenWrt.org | |
START=90 | |
SERVICE_USE_PID=1 | |
SERVICE_WRITE_PID=1 | |
SERVICE_DAEMONIZE=1 | |
start() { | |
service_start /usr/bin/dns2socks 127.0.0.1:2080 8.8.8.8:53 127.0.0.1:1053 -q | |
} | |
stop() { | |
service_stop /usr/bin/dns2socks | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment