procd: rename procd_add_network_trigger
authorJohn Crispin <john@openwrt.org>
Mon, 16 Jun 2014 18:55:05 +0000 (18:55 +0000)
committerJohn Crispin <john@openwrt.org>
Mon, 16 Jun 2014 18:55:05 +0000 (18:55 +0000)
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

package/system/procd/files/procd.sh

index 785b6ce0ca912713d4ed75663986ded0d3616744..67924a27491e062dc75375c9fdc52b2007e86dc3 100644 (file)
@@ -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 \