Skip to content

Commit

Permalink
cleanup some more
Browse files Browse the repository at this point in the history
Signed-off-by: Daniel Hansson <mailto@danielhansson.nu>
  • Loading branch information
enoch85 committed May 10, 2024
1 parent 667cb5f commit 60342fa
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions apps/netdata.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,16 +22,6 @@ debug_mode
# Must be sudo
root_check

# Can't be run as pure root user (doesn't work in Ubuntu 24.04)
#if [ -z "$UNIXUSER" ]
#then
# msg_box "You can't run this script as a pure root user. You need to issue the following command:
#sudo -u regular_user sudo bash $SCRIPTS/menu.sh

#Then choose Additional Apps --> Netdata"
# exit 1
#fi

# Check if netdata is already installed
if ! [ -d /etc/netdata ]
then
Expand Down Expand Up @@ -63,6 +53,8 @@ else
rm -rf /etc/netdata
apt-get purge netdata -y
apt-get autoremove -y
rm -rf /var/cache/netdata
rm -rf /var/log/netdata
# Show successful uninstall if applicable
removal_popup "$SCRIPT_NAME"
fi
Expand Down

0 comments on commit 60342fa

Please sign in to comment.