openssh: fix envirnonment when initscript called from addon

This commit is contained in:
Stefan Saraev 2013-07-18 13:05:01 +03:00
parent d1edac035b
commit e0a681e2ab

View File

@ -22,6 +22,10 @@
#
# runlevels: openelec, textmode
# can be called from openelec addon.
# ensure that environment is sane
. /etc/profile
if [ -f /etc/sshd.conf ]; then
. /etc/sshd.conf
elif [ -f /storage/.config/sshd.conf ]; then