diff options
Diffstat (limited to 'package/dropbear')
-rw-r--r-- | package/dropbear/dropbear-init.patch | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/package/dropbear/dropbear-init.patch b/package/dropbear/dropbear-init.patch index d6bf1740a..78b280999 100644 --- a/package/dropbear/dropbear-init.patch +++ b/package/dropbear/dropbear-init.patch @@ -27,12 +27,12 @@ + +start() { + echo -n "Starting dropbear sshd: " -+ start-stop-daemon --start --quiet --pidfile /var/run/dropbear.pid --exec /usr/sbin/dropbear ++ start-stop-daemon -S -q -p /var/run/dropbear.pid --exec /usr/sbin/dropbear + echo "OK" +} +stop() { + echo -n "Stopping sshd: " -+ start-stop-daemon --stop --quiet --pidfile /var/run/dropbear.pid ++ start-stop-daemon -K -q -p /var/run/dropbear.pid + echo "OK" +} +restart() { |