sysntpd: remove procd_open_trigger/procd_close_trigger calls
authorFelix Fietkau <nbd@nbd.name>
Fri, 29 Jul 2016 11:03:57 +0000 (13:03 +0200)
committerFelix Fietkau <nbd@nbd.name>
Fri, 29 Jul 2016 14:41:08 +0000 (16:41 +0200)
Signed-off-by: Felix Fietkau <nbd@nbd.name>
package/utils/busybox/files/sysntpd

index cc1b4d8..98260be 100755 (executable)
@@ -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
 }