diff options
author | blogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2013-07-11 17:00:40 +0000 |
---|---|---|
committer | blogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2013-07-11 17:00:40 +0000 |
commit | 0a9ebec7f58a2cfc9dac10b3e175c643337e3f1a (patch) | |
tree | 8f411bcdc12eb32388b3b7105e975e13be0206b6 | |
parent | e84354b70dcf985c787a807362adae41f7e6b5e8 (diff) |
dropbear: register a config.change trigger
Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37245 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rwxr-xr-x | package/network/services/dropbear/files/dropbear.init | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/package/network/services/dropbear/files/dropbear.init b/package/network/services/dropbear/files/dropbear.init index 66ed8b9bfb..9390833d30 100755 --- a/package/network/services/dropbear/files/dropbear.init +++ b/package/network/services/dropbear/files/dropbear.init @@ -121,6 +121,11 @@ start_service() config_foreach dropbear_instance dropbear } +service_triggers() +{ + procd_add_config_trigger "dropbear" "/etc/init.d/dropbear" "restart" +} + killclients() { local ignore='' |