Add files via upload

This commit is contained in:
tteckster 2022-02-18 14:06:34 -05:00 committed by GitHub
parent 24939e2724
commit 752d253ad3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 10 additions and 2 deletions

View File

@ -1,5 +1,14 @@
#!/usr/bin/env bash
# bash -c "$(wget -qLO - https://raw.githubusercontent.com/tteck/Proxmox/main/misc/node-red-dark.sh)"
while true; do
read -p "This will install midnight-red theme. Proceed(y/n)?" yn
case $yn in
[Yy]* ) break;;
[Nn]* ) exit;;
* ) echo "Please answer yes or no.";;
esac
done
set -o errexit
set -o errtrace
set -o nounset
@ -74,9 +83,8 @@ EOF
echo -e "${CM}${CL} \r"
echo -en "${GN} Restarting Node-Red... "
node-red-restart
echo -e "${CM}${CL} \r"
node-red-restart
echo -en "${GN} Finished... ${CL} \n"
exit