From 2fbe02314cd218e49e01f4febc02a75e802bcfe5 Mon Sep 17 00:00:00 2001 From: Esteban Mackay Q Date: Thu, 10 Aug 2023 20:57:15 -0700 Subject: [PATCH] Update install.sh --- install.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/install.sh b/install.sh index 9dae085..1ddb185 100644 --- a/install.sh +++ b/install.sh @@ -119,6 +119,7 @@ bash -c "$(curl -fsSL https://gitlab.com/hp3icc/emq-TE1/-/raw/main/install/ysf2y bash -c "$(curl -fsSL https://gitlab.com/hp3icc/emq-TE1/-/raw/main/install/raspberry.sh)" ########################### + echo install menu bash -c "$(curl -fsSL https://gitlab.com/hp3icc/emq-TE1/-/raw/main/menu/menu)" bash -c "$(curl -fsSL https://gitlab.com/hp3icc/emq-TE1/-/raw/main/menu/menu-aprs)" @@ -138,6 +139,7 @@ bash -c "$(curl -fsSL https://gitlab.com/hp3icc/emq-TE1/-/raw/main/menu/menu-ufw bash -c "$(curl -fsSL https://gitlab.com/hp3icc/emq-TE1/-/raw/main/menu/menu-ysf2ysf)" ############################ + (crontab -l; echo "* */1 * * * sync ; echo 3 > /proc/sys/vm/drop_caches >/dev/null 2>&1")|awk '!x[$0]++'|crontab - sudo systemctl enable gotty.service sudo systemctl stop webproxy.service @@ -160,6 +162,7 @@ fi # case : action en fonction du choix case $choix in 1) +history -c && history -w sudo reboot ;; esac