mirror of
https://github.com/tteck/Proxmox.git
synced 2024-11-29 18:13:10 +01:00
Update glances.sh
tweak
This commit is contained in:
parent
869a95d221
commit
01c54ab916
@ -96,14 +96,6 @@ EOF
|
|||||||
}
|
}
|
||||||
uninstall() {
|
uninstall() {
|
||||||
header_info
|
header_info
|
||||||
read -r -p "Verbose mode? <y/N> " prompt
|
|
||||||
if [[ ${prompt,,} =~ ^(y|yes)$ ]]; then
|
|
||||||
STD=""
|
|
||||||
else
|
|
||||||
STD="silent"
|
|
||||||
fi
|
|
||||||
header_info
|
|
||||||
|
|
||||||
msg_info "Uninstalling $APP"
|
msg_info "Uninstalling $APP"
|
||||||
if [ -n "$SPINNER_PID" ] && ps -p $SPINNER_PID > /dev/null; then kill $SPINNER_PID > /dev/null; fi
|
if [ -n "$SPINNER_PID" ] && ps -p $SPINNER_PID > /dev/null; then kill $SPINNER_PID > /dev/null; fi
|
||||||
systemctl disable -q --now glances
|
systemctl disable -q --now glances
|
||||||
|
Loading…
Reference in New Issue
Block a user