From 8d546699c5d0054866ee25640cf8dbaa78d50326 Mon Sep 17 00:00:00 2001 From: John Crispin Date: Thu, 11 Jul 2013 17:00:40 +0000 Subject: [PATCH] dropbear: register a config.change trigger Signed-off-by: John Crispin SVN-Revision: 37245 --- package/network/services/dropbear/files/dropbear.init | 5 +++++ 1 file changed, 5 insertions(+) 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='' -- 2.30.2