Updated initscript to use -s to work around adjtime() bug
authorOyvind Repvik <nail@nslu2-linux.org>
Tue, 2 Aug 2005 17:06:39 +0000 (17:06 +0000)
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>
Tue, 2 Aug 2005 17:06:39 +0000 (17:06 +0000)
packages/openntpd/files/init
packages/openntpd/openntpd_3.7p1.bb

index 768f8f1..caf010c 100644 (file)
@@ -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}"
index a205789..1f57183 100644 (file)
@@ -6,7 +6,7 @@ LICENSE = "BSD"
 SECTION = "console/network"
 MAINTAINER = "Oyvind Repvik <nail@nslu2-linux.org>"
 DEPENDS = "timezones"
-PR="r3"
+PR="r4"
 
 SRC_URI = "http://www.zip.com.au/~dtucker/openntpd/release/openntpd-${PV}.tar.gz \
           file://autofoo.patch;patch=1 \