From 1d6240576b245e629ab3710046dd6dbaf6526f4c Mon Sep 17 00:00:00 2001 From: Esteban Mackay Q <49044505+hp3icc@users.noreply.github.com> Date: Fri, 10 Feb 2023 14:11:58 -0500 Subject: [PATCH] Update install.sh --- install.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/install.sh b/install.sh index fc820db..bfbb01b 100644 --- a/install.sh +++ b/install.sh @@ -618,8 +618,8 @@ rm /var/log/syslog* rm /var/log/*.log* (crontab -l; echo "* */1 * * * sync ; echo 3 > /proc/sys/vm/drop_caches >/dev/null 2>&1")|awk '!x[$0]++'|crontab - -sh -c "$(curl -fsSL https://raw.githubusercontent.com/hp3icc/emq-TE1ws/main/self/data-id-update.sh)" -data-id +#sh -c "$(curl -fsSL https://raw.githubusercontent.com/hp3icc/emq-TE1ws/main/self/data-id-update.sh)" +#data-id ##### sudo update-rc.d dphys-swapfile remove sudo chmod -x /etc/init.d/dphys-swapfile @@ -656,8 +656,8 @@ sh /opt/FDMR-Monitor/sysinfo/rrd-db.sh ###################### (crontab -l; echo "*/5 * * * * sh /opt/FDMR-Monitor/sysinfo/graph.sh")|awk '!x[$0]++'|crontab - (crontab -l; echo "*/2 * * * * sh /opt/FDMR-Monitor/sysinfo/cpu.sh")|awk '!x[$0]++'|crontab - -(crontab -l; echo "* */6 * * * data-id")|awk '!x[$0]++'|crontab - - +#(crontab -l; echo "* */6 * * * data-id")|awk '!x[$0]++'|crontab - +cronedit.sh '* */6 * * *' 'data-id' remove sudo systemctl enable fdmr_mon.service #sudo systemctl restart apache2.service #sudo systemctl enable apache2.service