mirror of
https://github.com/pymumu/smartdns.git
synced 2025-12-20 01:11:42 +08:00
init-script: only set -R for init-script.
This commit is contained in:
@@ -2,4 +2,4 @@
|
||||
# /etc/init.d/smartdns.
|
||||
|
||||
# Options to pass to smartdns
|
||||
SMART_DNS_OPTS= -R
|
||||
SMART_DNS_OPTS=
|
||||
|
||||
@@ -37,7 +37,7 @@ test -x $SMARTDNS || exit 5
|
||||
|
||||
case $1 in
|
||||
start)
|
||||
$SMARTDNS "$SMART_DNS_OPTS"
|
||||
$SMARTDNS "$SMART_DNS_OPTS" -R
|
||||
while true; do
|
||||
if [ -e "$PIDFILE" ]; then
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user