dropbear:

- faster starting
This commit is contained in:
Stephan Raue 2009-12-01 11:10:31 +01:00
parent c77a746f31
commit 1bcc5afa50

View File

@ -4,9 +4,10 @@
#
# runlevels: openelec, text, debug
. /etc/sysconfig
(
. /etc/sysconfig
if test "$OE_START_SSHSERVER" = "yes" \
if test "$OE_START_SSHSERVER" = "yes" \
-a -f /usr/bin/dropbearkey \
-a -f /etc/issue ; then
progress "Starting SSH Server"
@ -30,7 +31,8 @@ if test "$OE_START_SSHSERVER" = "yes" \
mkdir -p /var/log
touch /var/log/lastlog
touch /var/log/wtmp
/usr/sbin/dropbear -b /etc/issue -P /var/run/dropbear.pid &
fi
/usr/sbin/dropbear -b /etc/issue -P /var/run/dropbear.pid
fi
)&
exit 0