mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
openssh: fix envirnonment when initscript called from addon
This commit is contained in:
parent
d1edac035b
commit
e0a681e2ab
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user