From: John Crispin Date: Thu, 11 Jul 2013 17:00:40 +0000 (+0000) Subject: dropbear: register a config.change trigger X-Git-Tag: reboot~9963 X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=8d546699c5d0054866ee25640cf8dbaa78d50326;p=openwrt%2Fopenwrt.git dropbear: register a config.change trigger Signed-off-by: John Crispin SVN-Revision: 37245 --- 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=''