summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-10-07 19:11:19 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-10-07 19:11:19 +0000
commit337dd3ef93eca6b9711c9966f9d2647d81c0c7b2 (patch)
tree41dd4fea8a661884c3329d3dc550d081cac90faf
parent064e3c52d6cd8656a07e2a286910e6e9cd876d55 (diff)
implement stop() function for dropbear init script
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4953 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rwxr-xr-xpackage/dropbear/files/dropbear.init4
1 files changed, 4 insertions, 0 deletions
diff --git a/package/dropbear/files/dropbear.init b/package/dropbear/files/dropbear.init
index e0a4481bf9..a5822e4f2b 100755
--- a/package/dropbear/files/dropbear.init
+++ b/package/dropbear/files/dropbear.init
@@ -17,3 +17,7 @@ start() {
/usr/sbin/dropbear
}
+
+stop() {
+ killall dropbear
+}