From 337dd3ef93eca6b9711c9966f9d2647d81c0c7b2 Mon Sep 17 00:00:00 2001 From: nbd Date: Sat, 7 Oct 2006 19:11:19 +0000 Subject: 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 --- package/dropbear/files/dropbear.init | 4 ++++ 1 file changed, 4 insertions(+) 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 +} -- cgit v1.2.3