aboutsummaryrefslogtreecommitdiffstats
path: root/package/htpdate/files
diff options
context:
space:
mode:
Diffstat (limited to 'package/htpdate/files')
-rw-r--r--package/htpdate/files/htpdate.default2
-rw-r--r--package/htpdate/files/htpdate.init2
2 files changed, 2 insertions, 2 deletions
diff --git a/package/htpdate/files/htpdate.default b/package/htpdate/files/htpdate.default
index 8c182b3ee1..94674fdd3c 100644
--- a/package/htpdate/files/htpdate.default
+++ b/package/htpdate/files/htpdate.default
@@ -1 +1 @@
-OPTIONS="-D www.google.com www.yahoo.com www.linux.org www.freebsd.org"
+OPTIONS="www.google.com www.yahoo.com www.linux.org www.freebsd.org"
diff --git a/package/htpdate/files/htpdate.init b/package/htpdate/files/htpdate.init
index 9af0e55953..69d3d35f57 100644
--- a/package/htpdate/files/htpdate.init
+++ b/package/htpdate/files/htpdate.init
@@ -9,7 +9,7 @@ PID_F=$RUN_D/$BIN.pid
case $1 in
start)
mkdir -p $RUN_D
- $BIN $OPTIONS
+ $BIN -C 0 -l -s $OPTIONS && $BIN -D $OPTIONS
;;
stop)
[ -f $PID_F ] && kill $(cat $PID_F)