From 9af7d069475da3ddd5ad08b07c51d80035cfc97b Mon Sep 17 00:00:00 2001 From: John Crispin Date: Thu, 11 Jul 2013 17:00:40 +0000 Subject: dropbear: register a config.change trigger Signed-off-by: John Crispin git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37245 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/network/services/dropbear/files/dropbear.init | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'package/network/services') 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='' -- cgit v1.2.3