ssh: init: update to reflect latest addon changes

This commit is contained in:
Stefan Saraev 2013-07-18 21:58:17 +03:00
parent ddf1a24c0d
commit 8072254d26

View File

@ -26,10 +26,9 @@
# ensure that environment is sane # ensure that environment is sane
. /etc/profile . /etc/profile
if [ -f /etc/sshd.conf ]; then SSHD_START=false
. /etc/sshd.conf if [ -f $CONFIG_CACHE/service_ssh.conf ]; then
elif [ -f /storage/.config/sshd.conf ]; then . $CONFIG_CACHE/service_ssh.conf
. /storage/.config/sshd.conf
fi fi
# Check if password authentication is disabled # Check if password authentication is disabled