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 cc1b4d8cc68b8ffadac43a741eae199296391258..98260be6084412168d955f3c024d84ff0cd227f9 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
 }