projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8069d87
)
dropbear: register a config.change trigger
author
John Crispin
<john@openwrt.org>
Thu, 11 Jul 2013 17:00:40 +0000
(17:00 +0000)
committer
John Crispin
<john@openwrt.org>
Thu, 11 Jul 2013 17:00:40 +0000
(17:00 +0000)
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 37245
package/network/services/dropbear/files/dropbear.init
patch
|
blob
|
history
diff --git
a/package/network/services/dropbear/files/dropbear.init
b/package/network/services/dropbear/files/dropbear.init
index 66ed8b9bfbe624112d65906fcfbe4538302df14b..9390833d30a6ddc484f83cce617f0991f306abaf 100755
(executable)
--- 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=''