diff options
author | Waldemar Brodkorb <mail@waldemar-brodkorb.de> | 2005-03-23 10:44:22 +0000 |
---|---|---|
committer | Waldemar Brodkorb <mail@waldemar-brodkorb.de> | 2005-03-23 10:44:22 +0000 |
commit | 5cd4e6551dc15cb0ad93a6a056ce987dbfbcd588 (patch) | |
tree | a64869968c8917e1d176d6a9382c37d90b162f92 /openwrt/package | |
parent | 00c4ce5585597296fb1e9418c869a505e980605f (diff) | |
download | mtk-20170518-5cd4e6551dc15cb0ad93a6a056ce987dbfbcd588.zip mtk-20170518-5cd4e6551dc15cb0ad93a6a056ce987dbfbcd588.tar.gz mtk-20170518-5cd4e6551dc15cb0ad93a6a056ce987dbfbcd588.tar.bz2 |
no start-stop-daemon
SVN-Revision: 423
Diffstat (limited to 'openwrt/package')
-rwxr-xr-x | openwrt/package/dropbear/files/S50dropbear | 35 |
1 files changed, 1 insertions, 34 deletions
diff --git a/openwrt/package/dropbear/files/S50dropbear b/openwrt/package/dropbear/files/S50dropbear index c7ae0af..fb0bca4 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 |