mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-27 20:56:55 +00:00
dropbear:
- faster starting
This commit is contained in:
parent
c77a746f31
commit
1bcc5afa50
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user