From e3ab74868661179412e1b9e3be72e11abb451104 Mon Sep 17 00:00:00 2001 From: RaspbianProyect by HP3ICC Date: Tue, 21 Feb 2023 17:44:27 +0000 Subject: [PATCH] Update emq-TE1x.sh --- emq-TE1x.sh | 21 +++++++-------------- 1 file changed, 7 insertions(+), 14 deletions(-) diff --git a/emq-TE1x.sh b/emq-TE1x.sh index 4e5d9d2..c85828d 100644 --- a/emq-TE1x.sh +++ b/emq-TE1x.sh @@ -313,29 +313,22 @@ sudo systemctl daemon-reload -sudo systemctl stop rsyslog -sudo systemctl disable rsyslog + sudo systemctl disable netcheck.service sudo systemctl disable systemd-networkd-wait-online.service -sudo systemctl disable dphys-swapfile-back.service -mv /lib/systemd/system/dphys-swapfile.service /lib/systemd/system/dphys-swapfile-back.service -rm /var/log/syslog* -rm /var/log/*.log* + cd /tmp/ ##### -sudo update-rc.d dphys-swapfile remove -sudo chmod -x /etc/init.d/dphys-swapfile -sudo dphys-swapfile swapoff -sudo swapoff -a -sudo rm /var/swap -sudo dphys-swapfile uninstall -cd /etc/ -sudo sed -i 's/CONF_SWAPSIZE=100/CONF_SWAPSIZE=0/' dphys-swapfile + + + + + ## history -c && history -w