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 2fc4bb8adf93b4d3720bd8792c951183c291ed9e..0deb064664286283423b1e34895fba018a2cf461 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
 }