procd: rename procd_add_network_trigger

i got complaints about the bad naming of the api. lets rename it while there are no users yet.

Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 41220
This commit is contained in:
John Crispin 2014-06-16 18:55:05 +00:00
parent c5461a78d2
commit 91d82d7b36

View file

@ -164,7 +164,7 @@ _procd_add_interface_trigger() {
json_close_array json_close_array
} }
_procd_add_network_trigger() { _procd_add_reload_interface_trigger() {
local script=$(readlink "$initscript") local script=$(readlink "$initscript")
local name=$(basename ${script:-$initscript}) local name=$(basename ${script:-$initscript})
@ -283,9 +283,10 @@ _procd_wrapper \
procd_close_service \ procd_close_service \
procd_add_instance \ procd_add_instance \
procd_add_config_trigger \ procd_add_config_trigger \
procd_add_reload_trigger \
procd_add_interface_trigger \ procd_add_interface_trigger \
procd_add_network_trigger \ procd_add_reload_trigger \
procd_add_reload_interface_trigger \
procd_add_interface_reload \
procd_open_trigger \ procd_open_trigger \
procd_close_trigger \ procd_close_trigger \
procd_open_instance \ procd_open_instance \