Skip to content

Commit

Permalink
fix addon params
Browse files Browse the repository at this point in the history
  • Loading branch information
wjz304 committed Aug 3, 2023
1 parent 7d4e768 commit e3c20dc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion files/board/arpl/overlayfs/opt/arpl/menu.sh
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,8 @@ function addonMenu() {
--inputbox "$(TEXT "Type a opcional params to addon")" 0 0 \
2>${TMP_PATH}/resp
[ $? -ne 0 ] && continue
ADDONS[${ADDON}]="$(<"${TMP_PATH}/resp")"
VALUE="$(<"${TMP_PATH}/resp")"
ADDONS[${ADDON}]="${VALUE}"
writeConfigKey "addons.${ADDON}" "${VALUE}" "${USER_CONFIG_FILE}"
DIRTY=1
;;
Expand Down

0 comments on commit e3c20dc

Please sign in to comment.