diff options
author | John Crispin <john@openwrt.org> | 2014-06-16 18:55:05 +0000 |
---|---|---|
committer | John Crispin <john@openwrt.org> | 2014-06-16 18:55:05 +0000 |
commit | 91d82d7b362697b495b78e5c52ac8efb8d473fae (patch) | |
tree | 4b58b38184323682c247f72d9c61c989ea8e0323 /package/system/procd | |
parent | c5461a78d2e49f1324f3f917b3b7cca3894f3a11 (diff) | |
download | mtk-20170518-91d82d7b362697b495b78e5c52ac8efb8d473fae.zip mtk-20170518-91d82d7b362697b495b78e5c52ac8efb8d473fae.tar.gz mtk-20170518-91d82d7b362697b495b78e5c52ac8efb8d473fae.tar.bz2 |
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
Diffstat (limited to 'package/system/procd')
-rw-r--r-- | package/system/procd/files/procd.sh | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/package/system/procd/files/procd.sh b/package/system/procd/files/procd.sh index 785b6ce..67924a2 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 \ |