summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOyvind Repvik <nail@nslu2-linux.org>2005-08-02 17:51:53 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2005-08-02 17:51:53 +0000
commit40f3e1b35db575ce80d1867e1fcb970b91e2a2aa (patch)
treede88a241d93664a6cfc59283a02e5cb42083da19
parent1d06e416f8dcb91de109b868590775132b252029 (diff)
parent88949122a6fc433508d9892be1d551112175778d (diff)
propagate from branch 'org.openembedded.dev' (head 75a43755f74fd845a0a2f8f302309d3a342a25c6)
to branch 'org.openembedded.nslu2-linux' (head 89feede12a7b718d5ebfd9f93ba846aa4225149c)
-rw-r--r--packages/openntpd/files/init4
-rw-r--r--packages/openntpd/openntpd_3.7p1.bb3
2 files changed, 4 insertions, 3 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}"
diff --git a/packages/openntpd/openntpd_3.7p1.bb b/packages/openntpd/openntpd_3.7p1.bb
index fc355c7273..1f571833aa 100644
--- a/packages/openntpd/openntpd_3.7p1.bb
+++ b/packages/openntpd/openntpd_3.7p1.bb
@@ -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 \
@@ -35,5 +35,6 @@ pkg_postrm () {
pkg_postinst () {
grep ntpd /etc/passwd || adduser --disabled-password --home=/var/shared/empty --ingroup nogroup ntpd
+ chown root:root /var/shared/empty
}