From a9d3e31b466d6fbe71d6ed46d5e153dce16d56db Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Wed, 23 Mar 2005 10:44:22 +0000 Subject: [PATCH] no start-stop-daemon SVN-Revision: 423 --- openwrt/package/dropbear/files/S50dropbear | 35 +--------------------- 1 file changed, 1 insertion(+), 34 deletions(-) diff --git a/openwrt/package/dropbear/files/S50dropbear b/openwrt/package/dropbear/files/S50dropbear index c7ae0af6ba..fb0bca4969 100755 --- a/openwrt/package/dropbear/files/S50dropbear +++ b/openwrt/package/dropbear/files/S50dropbear @@ -1,7 +1,4 @@ #!/bin/sh -# -# Starts dropbear sshd. -# # Make sure the dropbearkey progam exists [ -f /usr/bin/dropbearkey ] || exit 0 @@ -30,35 +27,5 @@ fi umask 077 -start() { - echo -n "Starting dropbear sshd: " - start-stop-daemon --start --quiet --pidfile /var/run/dropbear.pid --exec /usr/sbin/dropbear - echo "OK" -} -stop() { - echo -n "Stopping dropbear sshd: " - start-stop-daemon --stop --quiet --pidfile /var/run/dropbear.pid - echo "OK" -} -restart() { - stop - start -} - -case "$1" in - start) - start - ;; - stop) - stop - ;; - restart|reload) - restart - ;; - *) - echo $"Usage: $0 {start|stop|restart}" - exit 1 -esac - -exit $? +/usr/sbin/dropbear -- 2.30.2