mirror of
https://github.com/archr-linux/Arch-R.git
synced 2026-03-31 14:41:55 -07:00
openssh: fix envirnonment when initscript called from addon
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user