mirror of
https://github.com/MacRimi/ProxMenux.git
synced 2026-07-31 12:56:24 +00:00
Update menus
This commit is contained in:
@@ -3868,7 +3868,7 @@ main_menu() {
|
|||||||
4 "$(_bk_format_menu_item "$(translate "Scheduled backups and retention policies")" "")" \
|
4 "$(_bk_format_menu_item "$(translate "Scheduled backups and retention policies")" "")" \
|
||||||
5 "$(_bk_format_menu_item "$(translate "Configure backup destinations (PBS, Borg, local)")" "")" \
|
5 "$(_bk_format_menu_item "$(translate "Configure backup destinations (PBS, Borg, local)")" "")" \
|
||||||
"" " " \
|
"" " " \
|
||||||
"" "\Z4───────────────────── Community Scripts ─────────────────────\Z4" \
|
"" "\Z4───────────────────── Community Scripts ─────────────────────\Zn" \
|
||||||
6 "$(_bk_format_menu_item "PVE Host Backup" "Helper-Scripts")" \
|
6 "$(_bk_format_menu_item "PVE Host Backup" "Helper-Scripts")" \
|
||||||
7 "$(_bk_format_menu_item "proxmox_toolbox" "Tontonjo")" \
|
7 "$(_bk_format_menu_item "proxmox_toolbox" "Tontonjo")" \
|
||||||
8 "$(_bk_format_menu_item "proxsave" "tis24dev")" \
|
8 "$(_bk_format_menu_item "proxsave" "tis24dev")" \
|
||||||
|
|||||||
@@ -226,8 +226,8 @@ run_updates_dialog() {
|
|||||||
|
|
||||||
|
|
||||||
declare -a COMMUNITY_SCRIPTS=(
|
declare -a COMMUNITY_SCRIPTS=(
|
||||||
"Proxmox VE Post Install|Helper-Scripts|bash -c \"source '$UTILS_FILE'; wget -qLO - https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/tools/pve/post-pve-install.sh | bash; msg_success \\\"\$(translate 'Press ENTER to continue...')\\\"; read -r _\""
|
"Proxmox VE Post Install|Helper-Scripts|bash -c \"\$(wget -qLO - https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/tools/pve/post-pve-install.sh); msg_success \\\"\$(translate 'Press ENTER to continue...')\\\"; read -r _\""
|
||||||
"Proxmox VE Microcode|Helper-Scripts|bash -c \"source '$UTILS_FILE'; wget -qLO - https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/tools/pve/microcode.sh | bash; msg_success \\\"\$(translate 'Press ENTER to continue...')\\\"; read -r _\""
|
"Proxmox VE Microcode|Helper-Scripts|bash -c \"\$(wget -qLO - https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/tools/pve/microcode.sh); msg_success \\\"\$(translate 'Press ENTER to continue...')\\\"; read -r _\""
|
||||||
)
|
)
|
||||||
|
|
||||||
# ==========================================================
|
# ==========================================================
|
||||||
@@ -322,9 +322,7 @@ show_menu() {
|
|||||||
|
|
||||||
|
|
||||||
menu_items+=("" "")
|
menu_items+=("" "")
|
||||||
menu_items+=("-" "───────────────────── $(post_install_label "Community Scripts") ──────────────────────")
|
menu_items+=("" "\Z4───────────────────── Community Scripts ──────────────────────\Zn")
|
||||||
menu_items+=("" "")
|
|
||||||
|
|
||||||
|
|
||||||
for script in "${COMMUNITY_SCRIPTS[@]}"; do
|
for script in "${COMMUNITY_SCRIPTS[@]}"; do
|
||||||
IFS='|' read -r name source command <<< "$script"
|
IFS='|' read -r name source command <<< "$script"
|
||||||
@@ -343,11 +341,11 @@ show_menu() {
|
|||||||
|
|
||||||
|
|
||||||
exec 3>&1
|
exec 3>&1
|
||||||
script_selection=$(dialog --clear \
|
script_selection=$(dialog --clear --colors \
|
||||||
--backtitle "ProxMenux" \
|
--backtitle "ProxMenux" \
|
||||||
--title "$(translate "Post-Installation Scripts")" \
|
--title "$(translate "Post-Installation Scripts")" \
|
||||||
--menu "\n$(translate "Select a post-installation script:"):\n" \
|
--menu "\n$(translate "Select a post-installation script:"):\n" \
|
||||||
22 78 15 \
|
24 84 16 \
|
||||||
"${menu_items[@]}" 2>&1 1>&3)
|
"${menu_items[@]}" 2>&1 1>&3)
|
||||||
exit_status=$?
|
exit_status=$?
|
||||||
exec 3>&-
|
exec 3>&-
|
||||||
|
|||||||
Reference in New Issue
Block a user