From: John Crispin Date: Mon, 16 Jun 2014 18:55:05 +0000 (+0000) Subject: procd: rename procd_add_network_trigger X-Git-Tag: reboot~6910 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=91d82d7b362697b495b78e5c52ac8efb8d473fae;p=openwrt%2Fopenwrt.git 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 SVN-Revision: 41220 --- diff --git a/package/system/procd/files/procd.sh b/package/system/procd/files/procd.sh index 785b6ce0ca..67924a2749 100644 --- a/package/system/procd/files/procd.sh +++ b/package/system/procd/files/procd.sh @@ -164,7 +164,7 @@ _procd_add_interface_trigger() { json_close_array } -_procd_add_network_trigger() { +_procd_add_reload_interface_trigger() { local script=$(readlink "$initscript") local name=$(basename ${script:-$initscript}) @@ -283,9 +283,10 @@ _procd_wrapper \ procd_close_service \ procd_add_instance \ procd_add_config_trigger \ - procd_add_reload_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_close_trigger \ procd_open_instance \