diff options
author | Waldemar Brodkorb <wbx@openwrt.org> | 2005-03-23 10:44:22 +0000 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openwrt.org> | 2005-03-23 10:44:22 +0000 |
commit | 9abf6d7dce40cd123a9457923a19910b00180c34 (patch) | |
tree | 24961bfd42760224ac57747e40b40d137bace22d | |
parent | 7226afdcb36f8e015b6ccc90657665609db474b7 (diff) | |
download | upstream-9abf6d7dce40cd123a9457923a19910b00180c34.tar.gz upstream-9abf6d7dce40cd123a9457923a19910b00180c34.tar.bz2 upstream-9abf6d7dce40cd123a9457923a19910b00180c34.zip |
no start-stop-daemon
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@423 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rwxr-xr-x | package/dropbear/files/S50dropbear | 35 |
1 files changed, 1 insertions, 34 deletions
diff --git a/package/dropbear/files/S50dropbear b/package/dropbear/files/S50dropbear index c7ae0af6ba..fb0bca4969 100755 --- a/package/dropbear/files/S50dropbear +++ b/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 |