mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 05:06:43 +00:00
dropbear:
- faster starting
This commit is contained in:
parent
c77a746f31
commit
1bcc5afa50
@ -4,9 +4,10 @@
|
|||||||
#
|
#
|
||||||
# runlevels: openelec, text, debug
|
# 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 /usr/bin/dropbearkey \
|
||||||
-a -f /etc/issue ; then
|
-a -f /etc/issue ; then
|
||||||
progress "Starting SSH Server"
|
progress "Starting SSH Server"
|
||||||
@ -30,7 +31,8 @@ if test "$OE_START_SSHSERVER" = "yes" \
|
|||||||
mkdir -p /var/log
|
mkdir -p /var/log
|
||||||
touch /var/log/lastlog
|
touch /var/log/lastlog
|
||||||
touch /var/log/wtmp
|
touch /var/log/wtmp
|
||||||
/usr/sbin/dropbear -b /etc/issue -P /var/run/dropbear.pid &
|
/usr/sbin/dropbear -b /etc/issue -P /var/run/dropbear.pid
|
||||||
fi
|
fi
|
||||||
|
)&
|
||||||
|
|
||||||
exit 0
|
exit 0
|
||||||
|
Loading…
x
Reference in New Issue
Block a user