diff options
author | Costa Tsaousis (ktsaou) <costa@tsaousis.gr> | 2017-07-24 23:30:11 +0300 |
---|---|---|
committer | Costa Tsaousis (ktsaou) <costa@tsaousis.gr> | 2017-07-24 23:30:11 +0300 |
commit | d2704cbfe64d824077c6044d3737a8ab6953a34a (patch) | |
tree | 4523de4813097d227a9f83d80a01078f1337f399 /netdata-installer.sh | |
parent | 9057cf2743f06e92ce1ca8bd75b3e1d4bb88aaae (diff) |
uninstaller removes netdata-updater from cron
Diffstat (limited to 'netdata-installer.sh')
-rwxr-xr-x | netdata-installer.sh | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/netdata-installer.sh b/netdata-installer.sh index 35cb850fb4..fbcd75d660 100755 --- a/netdata-installer.sh +++ b/netdata-installer.sh @@ -1046,6 +1046,18 @@ if [ -f /etc/init.d/netdata ] rm -i /etc/init.d/netdata fi +if [ -f /etc/periodic/daily/netdata-updater ] + then + echo "Deleting /etc/periodic/daily/netdata-updater ..." + rm -i /etc/periodic/daily/netdata-updater +fi + +if [ -f /etc/cron.daily/netdata-updater ] + then + echo "Deleting /etc/cron.daily/netdata-updater ..." + rm -i /etc/cron.daily/netdata-updater +fi + getent passwd netdata > /dev/null if [ $? -eq 0 ] then |