Skip to content

Commit

Permalink
fix rebuild of modules changed
Browse files Browse the repository at this point in the history
  • Loading branch information
wjz304 committed Jun 22, 2023
1 parent 3f51332 commit 9c16b66
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions files/board/arpl/overlayfs/opt/arpl/menu.sh
Original file line number Diff line number Diff line change
Expand Up @@ -374,6 +374,7 @@ function moduleMenu() {
USERMODULES["${ID}"]=""
writeConfigKey "modules.${ID}" "" "${USER_CONFIG_FILE}"
done
DIRTY=1
;;
a) dialog --backtitle "`backtitle`" --title "$(TEXT "Modules")" \
--infobox "$(TEXT "Selecting all modules")" 0 0
Expand All @@ -384,13 +385,15 @@ function moduleMenu() {
USERMODULES["${ID}"]=""
writeConfigKey "modules.${ID}" "" "${USER_CONFIG_FILE}"
done <<<${ALLMODULES}
DIRTY=1
;;

d) dialog --backtitle "`backtitle`" --title "$(TEXT "Modules")" \
--infobox "$(TEXT "Deselecting all modules")" 0 0
writeConfigKey "modules" "{}" "${USER_CONFIG_FILE}"
unset USERMODULES
declare -A USERMODULES
DIRTY=1
;;

c)
Expand All @@ -414,6 +417,7 @@ function moduleMenu() {
USERMODULES["${ID}"]=""
writeConfigKey "modules.${ID}" "" "${USER_CONFIG_FILE}"
done
DIRTY=1
;;

o)
Expand Down Expand Up @@ -1160,6 +1164,7 @@ function advancedMenu() {
dialog --backtitle "`backtitle`" --title "$(TEXT "Custom dts file")" --aspect 18 \
--msgbox "$(TEXT "A valid dts file, Automatically import at compile time.")" 0 0
fi
DIRTY=1
;;
b)
if ! tty | grep -q "/dev/pts"; then
Expand Down

0 comments on commit 9c16b66

Please sign in to comment.