implement stop() function for dropbear init script
authorFelix Fietkau <nbd@openwrt.org>
Sat, 7 Oct 2006 19:11:19 +0000 (19:11 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Sat, 7 Oct 2006 19:11:19 +0000 (19:11 +0000)
SVN-Revision: 4953

openwrt/package/dropbear/files/dropbear.init

index e0a4481bf9049b77ef3ef2d5de03f9e9967b9dfb..a5822e4f2bc886062d305efe5ac546009faba4c5 100755 (executable)
@@ -17,3 +17,7 @@ start() {
        
        /usr/sbin/dropbear
 }
+
+stop() {
+       killall dropbear
+}