From: Florian Fainelli Date: Mon, 18 Jun 2007 15:18:18 +0000 (+0000) Subject: Create the directory for the drift file (#1898) X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=e45d2a52091682ee6a01a51f97119b999a6dcd7a;p=openwrt%2Fsvn-archive%2Fpackages.git Create the directory for the drift file (#1898) SVN-Revision: 7664 --- diff --git a/net/openntpd/files/ntpd.init b/net/openntpd/files/ntpd.init index 2fc4bb8ad..0deb06466 100644 --- a/net/openntpd/files/ntpd.init +++ b/net/openntpd/files/ntpd.init @@ -4,6 +4,7 @@ START=60 start() { mkdir -p `awk -F: '/^ntp:/{print $6}' /etc/passwd` + mkdir -p /var/db/ /usr/sbin/ntpd -s }