no start-stop-daemon
authorWaldemar Brodkorb <mail@waldemar-brodkorb.de>
Wed, 23 Mar 2005 10:44:22 +0000 (10:44 +0000)
committerWaldemar Brodkorb <mail@waldemar-brodkorb.de>
Wed, 23 Mar 2005 10:44:22 +0000 (10:44 +0000)
SVN-Revision: 423

openwrt/package/dropbear/files/S50dropbear

index c7ae0af6bada58d45f43a840bce96c189c980294..fb0bca49693ad90caa859400c542f4b30ad14b89 100755 (executable)
@@ -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