fixed mistypings
This commit is contained in:
parent
37f3da620c
commit
775439bd73
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user