From 8072254d2690e1d540314245f64b9c07da9c354d Mon Sep 17 00:00:00 2001 From: Stefan Saraev Date: Thu, 18 Jul 2013 21:58:17 +0300 Subject: [PATCH] ssh: init: update to reflect latest addon changes --- packages/network/openssh/init.d/51_sshd | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) 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