Update linupx-scripts.sh
This commit is contained in:
@@ -60,13 +60,6 @@ Red='\033[10;31m'
|
|||||||
LRed='\033[1;31m'
|
LRed='\033[1;31m'
|
||||||
|
|
||||||
|
|
||||||
######## NEWRELIC REMOVAL ########
|
|
||||||
if [ -e /etc/apt/sources.list.d/newrelic.list ]; then
|
|
||||||
$APTFUNC remove -y newrelic-sysmond
|
|
||||||
rm -f /etc/apt/sources.list.d/newrelic.list
|
|
||||||
echo -e "${BBlue}NOTICE:${Color_Off} NewRelic Removed."
|
|
||||||
sleep 5
|
|
||||||
fi
|
|
||||||
|
|
||||||
UPDATE1() {
|
UPDATE1() {
|
||||||
if [ "$opennms" = true ]; then
|
if [ "$opennms" = true ]; then
|
||||||
@@ -422,7 +415,7 @@ SCRIPT_MENU() {
|
|||||||
echo ""
|
echo ""
|
||||||
echo -e "Last run: ${Green}${LASTRUND} ${LASTRUNT}${Color_Off}"
|
echo -e "Last run: ${Green}${LASTRUND} ${LASTRUNT}${Color_Off}"
|
||||||
echo "---------------------------------------------------------------------------"
|
echo "---------------------------------------------------------------------------"
|
||||||
detect_os OS
|
OS=$(detect_os)
|
||||||
width=14
|
width=14
|
||||||
printf "%-${width}s: %s\n" "Machine" "${OS[0]}"
|
printf "%-${width}s: %s\n" "Machine" "${OS[0]}"
|
||||||
printf "%-${width}s: %s\n" "Distribution" "${OS[1]}"
|
printf "%-${width}s: %s\n" "Distribution" "${OS[1]}"
|
||||||
|
|||||||
Reference in New Issue
Block a user