dropbear: close all active clients on shutdown
[openwrt/staging/chunkeey.git] / package / network / services / dropbear / files / dropbear.init
index 2225113..b86e52d 100755 (executable)
@@ -148,6 +148,11 @@ service_triggers()
        procd_add_validation validate_section_dropbear
 }
 
+shutdown() {
+       # close all open connections
+       killall dropbear
+}
+
 killclients()
 {
        local ignore=''