From: Felix Fietkau <nbd@nbd.name>
Date: Fri, 29 Jul 2016 11:03:57 +0000 (+0200)
Subject: sysntpd: remove procd_open_trigger/procd_close_trigger calls
X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=88304ea6e516d0f2b34fc53ba4de0f61ccaa0229;p=lede.git

sysntpd: remove procd_open_trigger/procd_close_trigger calls

Signed-off-by: Felix Fietkau <nbd@nbd.name>
---

diff --git a/package/utils/busybox/files/sysntpd b/package/utils/busybox/files/sysntpd
index cc1b4d8cc6..98260be608 100755
--- a/package/utils/busybox/files/sysntpd
+++ b/package/utils/busybox/files/sysntpd
@@ -64,7 +64,6 @@ service_triggers() {
 	script=$(readlink -f "$initscript")
 	name=$(basename ${script:-$initscript})
 
-	procd_open_trigger
 	procd_add_config_trigger "config.change" "system" /etc/init.d/$name reload
 
 	config_load system
@@ -83,7 +82,5 @@ service_triggers() {
 		fi
 	}
 
-	procd_close_trigger
-
 	procd_add_validation validate_ntp_section
 }