From 9e8857c88d9aed833ef1f8d28a70e8fbeb606ddc Mon Sep 17 00:00:00 2001 From: nbd Date: Fri, 5 Sep 2008 18:22:39 +0000 Subject: [PATCH] only start ntpd from hotplug git-svn-id: svn://svn.openwrt.org/openwrt/packages@12539 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- net/openntpd/files/ntpd.init | 5 +++++ 1 file changed, 5 insertions(+) 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/ -- 2.11.0