Skip to content

Commit

Permalink
removed sourcing armbinaenv.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
Tearran committed Jan 4, 2025
1 parent c044dc8 commit 81003e1
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions tools/modules/system/manage_dtoverlays.sh
Original file line number Diff line number Diff line change
@@ -1,11 +1,15 @@

module_options+=(
["manage_dtoverlays,author"]="@viraniac"
["manage_dtoverlays,maintainer"]=""
["manage_dtoverlays,ref_link"]=""
["manage_dtoverlays,feature"]="manage_dtoverlays"
["manage_dtoverlays,desc"]="Enable/disable device tree overlays"
["manage_dtoverlays,example"]="manage_dtoverlays"
["manage_dtoverlays,example"]=""
["manage_dtoverlays,status"]="Active"
["manage_dtoverlays,group"]="Kernel"
["manage_dtoverlays,port"]=""
["manage_dtoverlays,arch"]="aarch64 armhf"
)
#
# @description Enable/disable device tree overlays
Expand All @@ -19,7 +23,8 @@ function manage_dtoverlays () {
[[ "$LINUXFAMILY" == "meson64" ]] && overlaydir="/boot/dtb/amlogic/overlay";
[[ "$LINUXFAMILY" == "rockchip64" || "$LINUXFAMILY" == "rk3399" || "$LINUXFAMILY" == "rockchip-rk3588" || "$LINUXFAMILY" == "rk35xx" ]] && overlaydir="/boot/dtb/rockchip/overlay";

[[ -f "${overlayconf}" ]] && source "${overlayconf}"

#[[ -f "${overlayconf}" ]] && source "${overlayconf}"
while true; do
local options=()
j=0
Expand Down

0 comments on commit 81003e1

Please sign in to comment.