[source] sysntpd: remove procd_open_trigger/procd_close_trigger calls

LEDE Commits lede-commits at lists.infradead.org
Fri Jul 29 07:41:21 PDT 2016


nbd pushed a commit to source.git, branch master:
https://git.lede-project.org/?p=source.git;a=commitdiff;h=88304ea6e516d0f2b34fc53ba4de0f61ccaa0229

commit 88304ea6e516d0f2b34fc53ba4de0f61ccaa0229
Author: Felix Fietkau <nbd at nbd.name>
AuthorDate: Fri Jul 29 13:03:57 2016 +0200

    sysntpd: remove procd_open_trigger/procd_close_trigger calls
    
    Signed-off-by: Felix Fietkau <nbd at nbd.name>
---
 package/utils/busybox/files/sysntpd | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/package/utils/busybox/files/sysntpd b/package/utils/busybox/files/sysntpd
index cc1b4d8..98260be 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
 }



More information about the lede-commits mailing list