From: Felix Fietkau Date: Sat, 7 Oct 2006 19:11:19 +0000 (+0000) Subject: implement stop() function for dropbear init script X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=87bc31d3a8acea0a3037f28f940dac8af706270d;p=openwrt%2Fstaging%2Fyousong.git implement stop() function for dropbear init script SVN-Revision: 4953 --- diff --git a/openwrt/package/dropbear/files/dropbear.init b/openwrt/package/dropbear/files/dropbear.init index e0a4481bf9..a5822e4f2b 100755 --- a/openwrt/package/dropbear/files/dropbear.init +++ b/openwrt/package/dropbear/files/dropbear.init @@ -17,3 +17,7 @@ start() { /usr/sbin/dropbear } + +stop() { + killall dropbear +}