From d0bdb96bfb1ede9c0365fc244034dd863fc1c239 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Fri, 5 Sep 2008 18:22:39 +0000 Subject: [PATCH] only start ntpd from hotplug SVN-Revision: 12539 --- 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.30.2