From 775439bd737d2feb74541833affe7259489ba3dc Mon Sep 17 00:00:00 2001 From: justmarvinn Date: Wed, 11 Jun 2025 12:05:47 +0200 Subject: [PATCH] fixed mistypings --- cleanup_and_isntall.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/cleanup_and_isntall.sh b/cleanup_and_isntall.sh index 9d45b53..1e44251 100644 --- a/cleanup_and_isntall.sh +++ b/cleanup_and_isntall.sh @@ -32,7 +32,7 @@ echo "Old files removed" apt update apt remove -y inetutils-ping -apt install -y ppp curl iputils-ping mosquitto_utils +apt install -y ppp curl iputils-ping mosquitto-clients echo "Dependencies installed" mkdir -p /etc/ppp/chatscripts @@ -61,12 +61,13 @@ while true; do break ;; 2) - curl -sSL "https://git.openergy.ru/LUCKFOX/SIM800C/raw/branch/$BRANCH/etc/cron.d/t3hs_sim800_gpio" > /etc/cron.d/t3hs_sim800_gpio + curl -sSL "https://git.openergy.ru/LUCKFOX/SIM800C/raw/branch/$BRANCH/etc/cron.d/t3hs_sim800_mqtt" > /etc/cron.d/t3hs_sim800_mqtt chmod 644 /etc/cron.d/t3hs_sim800_mqtt chown root:root /etc/cron.d/t3hs_sim800_mqtt break ;; esac +done if [[ ! -f /etc/t3hs/sim800 ]]; then mkdir -p /etc/t3hs