summaryrefslogtreecommitdiff
path: root/packages/openntpd/files
diff options
context:
space:
mode:
authorOyvind Repvik <nail@nslu2-linux.org>2005-08-31 17:09:56 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2005-08-31 17:09:56 +0000
commit2803fc654e08ce51bc0259c6b50425b4900c84a8 (patch)
tree0c09cb528190cdfca98ff177d607036af7dd9f74 /packages/openntpd/files
parent1cb8d856cd0f4294ff349362994f9a784982c36c (diff)
openntpd init-script
Check to see if privsep dir {localstatedir}/shared/empty exists. Create if not.
Diffstat (limited to 'packages/openntpd/files')
-rw-r--r--packages/openntpd/files/init1
1 files changed, 1 insertions, 0 deletions
diff --git a/packages/openntpd/files/init b/packages/openntpd/files/init
index caf010c8ca..37c923f688 100644
--- a/packages/openntpd/files/init
+++ b/packages/openntpd/files/init
@@ -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)