diff options
Diffstat (limited to 'package/openssh/files')
-rw-r--r-- | package/openssh/files/sshd.init | 4 | ||||
-rw-r--r-- | package/openssh/files/sshd_config | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/package/openssh/files/sshd.init b/package/openssh/files/sshd.init index 81f073b88..1a2db6ada 100644 --- a/package/openssh/files/sshd.init +++ b/package/openssh/files/sshd.init @@ -8,8 +8,8 @@ case $1 in autostop) ;; autostart) [[ $openssh = NO ]] && exit 0 - grep dropbear_flags /etc/rc.conf >/dev/null 2>&1 || dropbear_flags=NO - if [[ $openssh = AUTO && $dropbear_flags != NO ]]; then + grep "^dropbear" /etc/rc.conf >/dev/null 2>&1 || dropbear=NO + if [[ $openssh = AUTO && $dropbear != NO ]]; then echo openssh not starting: set to AUTO and dropbear is enabled exit 0 fi diff --git a/package/openssh/files/sshd_config b/package/openssh/files/sshd_config index 1ef114940..b8a2c1a70 100644 --- a/package/openssh/files/sshd_config +++ b/package/openssh/files/sshd_config @@ -104,7 +104,7 @@ UsePrivilegeSeparation yes #Banner none # override default of no subsystems -Subsystem sftp /usr/sbin/sftp-server +Subsystem sftp /usr/libexec/sftp-server # Example of overriding settings on a per-user basis #Match User anoncvs |