diff --git a/packages/network/openssh/init.d/51_sshd b/packages/network/openssh/init.d/51_sshd index ba6a16d5c8..fcea22c19a 100644 --- a/packages/network/openssh/init.d/51_sshd +++ b/packages/network/openssh/init.d/51_sshd @@ -26,10 +26,9 @@ # ensure that environment is sane . /etc/profile - if [ -f /etc/sshd.conf ]; then - . /etc/sshd.conf - elif [ -f /storage/.config/sshd.conf ]; then - . /storage/.config/sshd.conf + SSHD_START=false + if [ -f $CONFIG_CACHE/service_ssh.conf ]; then + . $CONFIG_CACHE/service_ssh.conf fi # Check if password authentication is disabled