Create the directory for the drift file (#1898)
authorflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 18 Jun 2007 15:18:18 +0000 (15:18 +0000)
committerflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 18 Jun 2007 15:18:18 +0000 (15:18 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/packages@7664 3c298f89-4303-0410-b956-a3cf2f4a3e73

net/openntpd/files/ntpd.init

index 2fc4bb8..0deb064 100644 (file)
@@ -4,6 +4,7 @@
 START=60
 start() {
        mkdir -p `awk -F: '/^ntp:/{print $6}' /etc/passwd`
+       mkdir -p /var/db/
        /usr/sbin/ntpd -s
 }