From 87bc31d3a8acea0a3037f28f940dac8af706270d Mon Sep 17 00:00:00 2001
From: Felix Fietkau <nbd@openwrt.org>
Date: Sat, 7 Oct 2006 19:11:19 +0000
Subject: [PATCH] implement stop() function for dropbear init script

SVN-Revision: 4953
---
 openwrt/package/dropbear/files/dropbear.init | 4 ++++
 1 file changed, 4 insertions(+)

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
+}
-- 
GitLab