From: nbd Date: Fri, 5 Sep 2008 18:22:39 +0000 (+0000) Subject: only start ntpd from hotplug X-Git-Url: http://207.154.207.93/?a=commitdiff_plain;h=9e8857c88d9aed833ef1f8d28a70e8fbeb606ddc;p=packages.git only start ntpd from hotplug git-svn-id: svn://svn.openwrt.org/openwrt/packages@12539 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- diff --git a/net/openntpd/files/ntpd.init b/net/openntpd/files/ntpd.init index 0deb06466..0d6c7a10b 100644 --- a/net/openntpd/files/ntpd.init +++ b/net/openntpd/files/ntpd.init @@ -2,6 +2,11 @@ # Copyright (C) 2006 OpenWrt.org START=60 + +boot() { + return 0 +} + start() { mkdir -p `awk -F: '/^ntp:/{print $6}' /etc/passwd` mkdir -p /var/db/