JetHome: Update bsp: fix jethub-init to support /etc/defaults
This commit is contained in:
parent
ebf4c7d895
commit
15b609f5bb
@ -11,6 +11,11 @@ SCRIPTPATH=$(dirname "${RP}")
|
||||
# shellcheck source=/dev/null
|
||||
source "${SCRIPTPATH}/libjethubconfig.sh"
|
||||
|
||||
# Include jethub-init defaults if available
|
||||
if [ -f /etc/default/jethub ] ; then
|
||||
. /etc/default/jethub
|
||||
fi
|
||||
|
||||
# Enable legacy sysfs gpio export. Will be disabled in future releases
|
||||
|
||||
ENABLESYSFS=${JETHUB_SYSFS_ENABLE:-true}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user