tweak
This commit is contained in:
parent
6ec035f346
commit
e7d298ca3b
4 changed files with 2 additions and 5 deletions
|
@ -331,8 +331,6 @@ msg_ok "Update Successful"
|
||||||
exit
|
exit
|
||||||
fi
|
fi
|
||||||
if [ "$UPD" == "2" ]; then
|
if [ "$UPD" == "2" ]; then
|
||||||
clear
|
|
||||||
header_info
|
|
||||||
THEME=$(whiptail --title "NODE-RED THEMES" --radiolist --cancel-button Exit-Script "Choose Theme" 15 58 6 \
|
THEME=$(whiptail --title "NODE-RED THEMES" --radiolist --cancel-button Exit-Script "Choose Theme" 15 58 6 \
|
||||||
"dark" "" OFF \
|
"dark" "" OFF \
|
||||||
"dracula" "" OFF \
|
"dracula" "" OFF \
|
||||||
|
|
|
@ -382,12 +382,11 @@ msg_ok "Updated Successfully!\n"
|
||||||
exit
|
exit
|
||||||
fi
|
fi
|
||||||
if [ "$UPD" == "2" ]; then
|
if [ "$UPD" == "2" ]; then
|
||||||
clear
|
|
||||||
header_info
|
|
||||||
cat paperless.creds
|
cat paperless.creds
|
||||||
exit
|
exit
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
clear
|
clear
|
||||||
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
|
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
|
||||||
if [ "$VERB" == "yes" ]; then set -x; fi
|
if [ "$VERB" == "yes" ]; then set -x; fi
|
||||||
|
|
|
@ -357,7 +357,6 @@ echo -e "\n ⚠️ Ensure you set resources back to normal settings \n"
|
||||||
exit;
|
exit;
|
||||||
fi
|
fi
|
||||||
if [ "$UPD" == "2" ]; then
|
if [ "$UPD" == "2" ]; then
|
||||||
|
|
||||||
msg_info "Stopping Vaultwarden"
|
msg_info "Stopping Vaultwarden"
|
||||||
systemctl stop vaultwarden.service
|
systemctl stop vaultwarden.service
|
||||||
msg_ok "Stopped Vaultwarden"
|
msg_ok "Stopped Vaultwarden"
|
||||||
|
|
|
@ -369,6 +369,7 @@ echo -e "WGDashboard should be reachable by going to the following URL.
|
||||||
exit
|
exit
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
clear
|
clear
|
||||||
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
|
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
|
||||||
if [ "$VERB" == "yes" ]; then set -x; fi
|
if [ "$VERB" == "yes" ]; then set -x; fi
|
||||||
|
|
Loading…
Reference in a new issue