mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 05:36:47 +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
|
# runlevels: openelec, textmode
|
||||||
|
|
||||||
|
# can be called from openelec addon.
|
||||||
|
# ensure that environment is sane
|
||||||
|
. /etc/profile
|
||||||
|
|
||||||
if [ -f /etc/sshd.conf ]; then
|
if [ -f /etc/sshd.conf ]; then
|
||||||
. /etc/sshd.conf
|
. /etc/sshd.conf
|
||||||
elif [ -f /storage/.config/sshd.conf ]; then
|
elif [ -f /storage/.config/sshd.conf ]; then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user