mirror of
https://github.com/armbian/build
synced 2025-09-24 19:47:06 +07:00
JetHome: Update bsp: fix jethub-init to support /etc/defaults
This commit is contained in:
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user