mirror of https://github.com/hak5/openwrt.git
sysntpd: remove procd_open_trigger/procd_close_trigger calls
Signed-off-by: Felix Fietkau <nbd@nbd.name>
parent
8891d941e0
commit
88304ea6e5
|
@ -64,7 +64,6 @@ service_triggers() {
|
||||||
script=$(readlink -f "$initscript")
|
script=$(readlink -f "$initscript")
|
||||||
name=$(basename ${script:-$initscript})
|
name=$(basename ${script:-$initscript})
|
||||||
|
|
||||||
procd_open_trigger
|
|
||||||
procd_add_config_trigger "config.change" "system" /etc/init.d/$name reload
|
procd_add_config_trigger "config.change" "system" /etc/init.d/$name reload
|
||||||
|
|
||||||
config_load system
|
config_load system
|
||||||
|
@ -83,7 +82,5 @@ service_triggers() {
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
procd_close_trigger
|
|
||||||
|
|
||||||
procd_add_validation validate_ntp_section
|
procd_add_validation validate_ntp_section
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue