openntpd init-script
authorOyvind Repvik <nail@nslu2-linux.org>
Wed, 31 Aug 2005 17:09:56 +0000 (17:09 +0000)
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>
Wed, 31 Aug 2005 17:09:56 +0000 (17:09 +0000)
Check to see if privsep dir {localstatedir}/shared/empty exists. Create if not.

packages/openntpd/files/init
packages/openntpd/openntpd_3.7p1.bb

index caf010c..37c923f 100644 (file)
@@ -7,6 +7,7 @@
 
 ntpd=/usr/sbin/ntpd
 test -x "$ntpd" || exit 0
+[ -d /var/shared/empty ] && mkdir /var/shared/empty
 
 case "$1" in
   start)
index c83cf1b..43c419a 100644 (file)
@@ -6,7 +6,7 @@ LICENSE = "BSD"
 SECTION = "console/network"
 MAINTAINER = "Oyvind Repvik <nail@nslu2-linux.org>"
 DEPENDS = "timezones"
-PR="r10"
+PR="r11"
 
 SRC_URI = "http://www.zip.com.au/~dtucker/openntpd/release/openntpd-${PV}.tar.gz \
           file://autofoo.patch;patch=1 \