From: Felix Fietkau Date: Fri, 5 Sep 2008 18:22:39 +0000 (+0000) Subject: only start ntpd from hotplug X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=d0bdb96bfb1ede9c0365fc244034dd863fc1c239;p=openwrt%2Fsvn-archive%2Fpackages.git only start ntpd from hotplug SVN-Revision: 12539 --- 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/