aboutsummaryrefslogtreecommitdiffstats
path: root/package/dropbear
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2006-10-07 19:11:19 +0000
committerFelix Fietkau <nbd@openwrt.org>2006-10-07 19:11:19 +0000
commit20a9fb169ff6eeb8190d92eae7c577990d5059d8 (patch)
tree41dd4fea8a661884c3329d3dc550d081cac90faf /package/dropbear
parent9f60657da72ea4b8f5324a58f987360d17ec30eb (diff)
downloadupstream-20a9fb169ff6eeb8190d92eae7c577990d5059d8.tar.gz
upstream-20a9fb169ff6eeb8190d92eae7c577990d5059d8.tar.bz2
upstream-20a9fb169ff6eeb8190d92eae7c577990d5059d8.zip
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
Diffstat (limited to 'package/dropbear')
-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
+}