aboutsummaryrefslogtreecommitdiffstats
path: root/package/system/procd
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2014-06-16 18:55:05 +0000
committerJohn Crispin <blogic@openwrt.org>2014-06-16 18:55:05 +0000
commit1b895a65a4fac9b589cfe0455733ed0ab4570e27 (patch)
treeca0dd853242d255091f2e1354fbf8cb592c985db /package/system/procd
parent31bede7b7366bbb1493f993829eeca22113842fd (diff)
downloadupstream-1b895a65a4fac9b589cfe0455733ed0ab4570e27.tar.gz
upstream-1b895a65a4fac9b589cfe0455733ed0ab4570e27.tar.bz2
upstream-1b895a65a4fac9b589cfe0455733ed0ab4570e27.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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41220 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/system/procd')
-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 \