Your ROOT_URL in app.ini is https://git.bwnetwork.us/ but you are visiting http://git.bwnetwork.us/Administrator/Proxmox_Helper_scripts/commit/13ae767e7f394d8b90deca3c1543780744619ddc?style=split&whitespace=ignore-eol You should set ROOT_URL correctly, otherwise the web may not work correctly.

Update monitor-all.sh

code refactoring
pull/1400/head
tteckster 2 years ago committed by GitHub
parent 6312591e58
commit 13ae767e7f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -118,11 +118,24 @@ remove() {
echo "Removed Monitor All from Proxmox VE" echo "Removed Monitor All from Proxmox VE"
} }
if [ "$1" == "add" ]; then # Define options for the whiptail menu
OPTIONS=(Add "Add Monitor-All to Proxmox VE" \
Remove "Remove Monitor-All from Proxmox VE")
# Show the whiptail menu and save the user's choice
CHOICE=$(whiptail --title "Monitor-All for Proxmox VE" --menu "Select an option:" 10 58 2 \
"${OPTIONS[@]}" 3>&1 1>&2 2>&3)
# Check the user's choice and perform the corresponding action
case $CHOICE in
"Add")
add add
elif [ "$1" == "remove" ]; then ;;
"Remove")
remove remove
else ;;
echo "Usage: $0 [ -s add | -s remove ]" *)
exit 1 echo "Exiting..."
fi exit 0
;;
esac

Loading…
Cancel
Save

Powered by BW's shoe-string budget.