aboutsummaryrefslogtreecommitdiffstats
path: root/package/network/services
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2013-07-11 17:00:40 +0000
committerJohn Crispin <john@openwrt.org>2013-07-11 17:00:40 +0000
commit8d546699c5d0054866ee25640cf8dbaa78d50326 (patch)
tree2b944d7d755d0744d0b3ee1a9e830fbfef0a0dfd /package/network/services
parent8069d87d3c4c3d05fa682fee501f410a5c5b0614 (diff)
downloadupstream-8d546699c5d0054866ee25640cf8dbaa78d50326.tar.gz
upstream-8d546699c5d0054866ee25640cf8dbaa78d50326.tar.bz2
upstream-8d546699c5d0054866ee25640cf8dbaa78d50326.zip
dropbear: register a config.change trigger
Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 37245
Diffstat (limited to 'package/network/services')
-rwxr-xr-xpackage/network/services/dropbear/files/dropbear.init5
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=''