Revert "openssh: start init scripts on RUNLEVEL=boot"

This reverts commit 997ef7c3b9d48c62061fa194a75e5a5cb9c2d2d0.
This commit is contained in:
Stephan Raue 2011-09-12 19:26:59 +02:00
parent d2443b373f
commit b5bea18819

View File

@ -22,6 +22,7 @@
#
# runlevels: openelec, textmode
(
RSA1_KEY="/storage/.cache/ssh/ssh_host_key"
RSA2_KEY="/storage/.cache/ssh/ssh_host_rsa_key"
DSA2_KEY="/storage/.cache/ssh/ssh_host_dsa_key"
@ -29,9 +30,6 @@
KEYGEN="/usr/bin/ssh-keygen"
SSHD="/usr/sbin/sshd"
case $RUNLEVEL in
boot)
(
# Check for the SSH1 RSA key
if [ ! -f $RSA1_KEY ] ; then
progress "SSH: generating SSH1 RSA key"
@ -74,9 +72,5 @@ case $RUNLEVEL in
mkdir -p /var/empty
chmod -R 600 /var/empty
$SSHD
)&
;;
poweroff|reboot)
;;
esac
)&