diff options
author | John Crispin <john@openwrt.org> | 2013-07-11 17:00:40 +0000 |
---|---|---|
committer | John Crispin <john@openwrt.org> | 2013-07-11 17:00:40 +0000 |
commit | 8d546699c5d0054866ee25640cf8dbaa78d50326 (patch) | |
tree | 2b944d7d755d0744d0b3ee1a9e830fbfef0a0dfd /package/network | |
parent | 8069d87d3c4c3d05fa682fee501f410a5c5b0614 (diff) | |
download | upstream-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')
-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='' |