aboutsummaryrefslogtreecommitdiffstats
path: root/package/system/procd/files
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2014-06-16 18:55:05 +0000
committerJohn Crispin <john@openwrt.org>2014-06-16 18:55:05 +0000
commit91d82d7b362697b495b78e5c52ac8efb8d473fae (patch)
tree4b58b38184323682c247f72d9c61c989ea8e0323 /package/system/procd/files
parentc5461a78d2e49f1324f3f917b3b7cca3894f3a11 (diff)
downloadupstream-91d82d7b362697b495b78e5c52ac8efb8d473fae.tar.gz
upstream-91d82d7b362697b495b78e5c52ac8efb8d473fae.tar.bz2
upstream-91d82d7b362697b495b78e5c52ac8efb8d473fae.zip
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/files')
-rw-r--r--package/system/procd/files/procd.sh7
1 files changed, 4 insertions, 3 deletions
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 \