Maintenance (#681)

* Maintenance
This commit is contained in:
tteckster 2022-10-29 21:04:45 -04:00 committed by GitHub
parent e7ec3d0275
commit 8e331fcbff
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
155 changed files with 12962 additions and 11552 deletions

View file

@ -1,22 +1,22 @@
#!/usr/bin/env bash
YW=`echo "\033[33m"`
BL=`echo "\033[36m"`
RD=`echo "\033[01;31m"`
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"`
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.";;
[Yy]*) break ;;
[Nn]*) exit ;;
*) echo "Please answer yes or no." ;;
esac
done
clear
function header_info {
echo -e "${RD}
echo -e "${RD}
_ _ _ ______ _
| | | | (_) ____(_)
| | | |_ __ _| |__ _
@ -30,4 +30,3 @@ ${CL}"
header_info
sleep 3
wget -qL https://get.glennr.nl/unifi/update/unifi-update.sh && bash unifi-update.sh