summaryrefslogtreecommitdiff
path: root/packages/openntpd/files/init
diff options
context:
space:
mode:
authorOyvind Repvik <nail@nslu2-linux.org>2005-08-02 17:06:39 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2005-08-02 17:06:39 +0000
commit88949122a6fc433508d9892be1d551112175778d (patch)
tree10865fa00b097e83e4ede411afc65439d24b1f69 /packages/openntpd/files/init
parentaf6946e502ee719196ca1e625a75fadc77c653ef (diff)
Updated initscript to use -s to work around adjtime() bug
Diffstat (limited to 'packages/openntpd/files/init')
-rw-r--r--packages/openntpd/files/init4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/openntpd/files/init b/packages/openntpd/files/init
index 768f8f1b8f..caf010c8ca 100644
--- a/packages/openntpd/files/init
+++ b/packages/openntpd/files/init
@@ -11,7 +11,7 @@ test -x "$ntpd" || exit 0
case "$1" in
start)
echo "Starting openntpd"
- start-stop-daemon --start --quiet --exec $ntpd
+ start-stop-daemon --start --quiet --exec $ntpd -- -s
;;
stop)
echo "Stopping openntpd"
@@ -26,7 +26,7 @@ case "$1" in
start-stop-daemon --stop --quiet --exec $ntpd
sleep 1
echo "Starting openntpd"
- start-stop-daemon --start --quiet --exec $ntpd
+ start-stop-daemon --start --quiet --exec $ntpd -- -s
;;
*)
echo "Usage: /etc/init.d/openntpd {start|stop|reload|restart|force-reload}"