From: John Crispin Date: Thu, 11 Jul 2013 17:00:40 +0000 (+0000) Subject: dropbear: register a config.change trigger X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=361002048d1e548faf4d5f7c6a99474f7748a41d;p=openwrt%2Fsvn-archive%2Farchive.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=''