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.openwrt.org/?p=openwrt%2Fsvn-archive%2Farchive.git;a=commitdiff_plain;h=9271e4c8f4a1aa55617eb1a047e06adc576870ff 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 2fc4bb8adf..0deb064664 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 }