Update glances-install.sh
This commit is contained in:
@@ -15,7 +15,7 @@ DEPS=$(whiptail --title "iDS-Glances Auto Install Script" --checklist --separate
|
|||||||
"\nPlease select which modules to install for Glances to be able\nto utilize for this system:" 28 80 16 \
|
"\nPlease select which modules to install for Glances to be able\nto utilize for this system:" 28 80 16 \
|
||||||
"action" "Allows Glances to trigger actions on events" ON \
|
"action" "Allows Glances to trigger actions on events" ON \
|
||||||
"batinfo" "Displays Battery Stats" OFF \
|
"batinfo" "Displays Battery Stats" OFF \
|
||||||
"browser" "Allows Glances to run as a webserver" ON \
|
"browser" "Allows for other Glances client browsing" OFF \
|
||||||
"chart" "Charts Module" ON \
|
"chart" "Charts Module" ON \
|
||||||
"cloud" "Displays Cloud Stats" OFF \
|
"cloud" "Displays Cloud Stats" OFF \
|
||||||
"cpuinfo" "Display CPU Stats" ON \
|
"cpuinfo" "Display CPU Stats" ON \
|
||||||
@@ -26,7 +26,7 @@ DEPS=$(whiptail --title "iDS-Glances Auto Install Script" --checklist --separate
|
|||||||
"ip" "Displays Public and Private Addresses" ON \
|
"ip" "Displays Public and Private Addresses" ON \
|
||||||
"raid" "Displays RAID Stats" OFF \
|
"raid" "Displays RAID Stats" OFF \
|
||||||
"snmp" "Could retrieve stats from an snmp endpoint" OFF \
|
"snmp" "Could retrieve stats from an snmp endpoint" OFF \
|
||||||
"web" "web" ON \
|
"web" "Allows Glances to run as a webserver" OFF \
|
||||||
"wifi" "Displays WiFi Stats" OFF 3>&1 1>&2 2>&3)
|
"wifi" "Displays WiFi Stats" OFF 3>&1 1>&2 2>&3)
|
||||||
exitstatus=$?
|
exitstatus=$?
|
||||||
if [ $exitstatus = 1 ]; then exit; fi
|
if [ $exitstatus = 1 ]; then exit; fi
|
||||||
@@ -141,9 +141,6 @@ shopt -u nocasematch
|
|||||||
do_with_root pip install --upgrade pip
|
do_with_root pip install --upgrade pip
|
||||||
DEPS2="setuptools glances[$(join_by , $DEPS)]"
|
DEPS2="setuptools glances[$(join_by , $DEPS)]"
|
||||||
|
|
||||||
echo -e "${BOrange}DEPS 2B: $DEPS2${Color_Off}"
|
|
||||||
|
|
||||||
|
|
||||||
# Install or ugrade Glances from the Pipy repository
|
# Install or ugrade Glances from the Pipy repository
|
||||||
if [[ -x /usr/local/bin/glances || -x /usr/bin/glances ]]; then
|
if [[ -x /usr/local/bin/glances || -x /usr/bin/glances ]]; then
|
||||||
echo -e "${Green}Upgrade Glances and dependancies${Color_Off}"
|
echo -e "${Green}Upgrade Glances and dependancies${Color_Off}"
|
||||||
|
|||||||
Reference in New Issue
Block a user