Skip to content

Commit 08e1f73

Browse files
committed
fix: Use dialog-maintenance for install menu
1 parent fa64ee5 commit 08e1f73

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

‎system/cuos/app-init.sh‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ HOME="${HOME:-/root}"
1313
export CONFIG_PATH="/system.json"
1414
LAST_CONFIG_PATH="/system_next.json"
1515

16-
RUN_CONFIG="$(jq -r '.run_config' "${CONFIG_PATH}")"
17-
if [[ "${RUN_CONFIG}" = "true" ]]; then
18-
"${SCRIPT_DIR}/dialog-config.sh"
16+
INSTALL_MENU="$(jq -r '.install_menu' "${CONFIG_PATH}")"
17+
if [[ "${INSTALL_MENU}" = "true" ]]; then
18+
"${SCRIPT_DIR}/dialog-maintenance.sh" --install
1919
fi
2020

2121
"${SCRIPT_DIR}/dialog-reports.sh" &

0 commit comments

Comments
 (0)