Create the directory for the drift file (#1898)
[openwrt/svn-archive/archive.git] / 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
 }