瀏覽代碼

init-script: only set -R for init-script.

Nick Peng 2 年之前
父節點
當前提交
ce18317a08
共有 2 個文件被更改,包括 2 次插入2 次删除
  1. 1 1
      etc/default/smartdns
  2. 1 1
      etc/init.d/smartdns

+ 1 - 1
etc/default/smartdns

@@ -2,4 +2,4 @@
 # /etc/init.d/smartdns.
 
 # Options to pass to smartdns
-SMART_DNS_OPTS= -R
+SMART_DNS_OPTS=

+ 1 - 1
etc/init.d/smartdns

@@ -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;