summaryrefslogtreecommitdiff
path: root/packages/openntpd/files
diff options
context:
space:
mode:
authorOyvind Repvik <nail@nslu2-linux.org>2005-08-31 17:13:40 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2005-08-31 17:13:40 +0000
commitc14bace2d86da524b71fd9a82e33a70a58cea3d1 (patch)
treefb943e5c6e6b5bdfa016e6481c444bca42f3c6ac /packages/openntpd/files
parent2803fc654e08ce51bc0259c6b50425b4900c84a8 (diff)
Openntpd init-script. Fix directory check
Diffstat (limited to 'packages/openntpd/files')
-rw-r--r--packages/openntpd/files/init2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/openntpd/files/init b/packages/openntpd/files/init
index 37c923f688..d35c65299d 100644
--- a/packages/openntpd/files/init
+++ b/packages/openntpd/files/init
@@ -7,7 +7,7 @@
ntpd=/usr/sbin/ntpd
test -x "$ntpd" || exit 0
-[ -d /var/shared/empty ] && mkdir /var/shared/empty
+[ ! -d /var/shared/empty ] && mkdir /var/shared/empty
case "$1" in
start)