Your ROOT_URL in app.ini is https://git.bwnetwork.us/ but you are visiting http://git.bwnetwork.us/Administrator/Proxmox_Helper_scripts/blame/commit/a6d4c68753a6539cab1433c4a7c8d2fc22f39c0c/misc/unifi-update.sh You should set ROOT_URL correctly, otherwise the web may not work correctly.
Proxmox_Helper_scripts/misc/unifi-update.sh

34 lines
698 B

#!/usr/bin/env bash
YW=`echo "\033[33m"`
BL=`echo "\033[36m"`
RD=`echo "\033[01;31m"`
CM='\xE2\x9C\x94\033'
GN=`echo "\033[1;92m"`
CL=`echo "\033[m"`
APP="UniFi Update"
while true; do
read -p "This will run ${APP}. Proceed(y/n)?" yn
case $yn in
[Yy]* ) break;;
[Nn]* ) exit;;
* ) echo "Please answer yes or no.";;
esac
done
clear
function header_info {
echo -e "${RD}
_ _ _ ______ _
| | | | (_) ____(_)
| | | |_ __ _| |__ _
| | | | _ \| | __| | |
| |__| | | | | | | | |
\____/|_| |_|_|_| |_|
UPDATE
${CL}"
}
header_info
sleep 3
wget -qL https://get.glennr.nl/unifi/update/unifi-update.sh && bash unifi-update.sh

Powered by BW's shoe-string budget.