Create the directory for the drift file (#1898)
authorFlorian Fainelli <florian@openwrt.org>
Mon, 18 Jun 2007 15:18:18 +0000 (15:18 +0000)
committerFlorian Fainelli <florian@openwrt.org>
Mon, 18 Jun 2007 15:18:18 +0000 (15:18 +0000)
SVN-Revision: 7664

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
 }