fixed mistypings
This commit is contained in:
parent
37f3da620c
commit
775439bd73
|
|
@ -32,7 +32,7 @@ echo "Old files removed"
|
||||||
|
|
||||||
apt update
|
apt update
|
||||||
apt remove -y inetutils-ping
|
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"
|
echo "Dependencies installed"
|
||||||
|
|
||||||
mkdir -p /etc/ppp/chatscripts
|
mkdir -p /etc/ppp/chatscripts
|
||||||
|
|
@ -61,12 +61,13 @@ while true; do
|
||||||
break
|
break
|
||||||
;;
|
;;
|
||||||
2)
|
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
|
chmod 644 /etc/cron.d/t3hs_sim800_mqtt
|
||||||
chown root:root /etc/cron.d/t3hs_sim800_mqtt
|
chown root:root /etc/cron.d/t3hs_sim800_mqtt
|
||||||
break
|
break
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
done
|
||||||
|
|
||||||
if [[ ! -f /etc/t3hs/sim800 ]]; then
|
if [[ ! -f /etc/t3hs/sim800 ]]; then
|
||||||
mkdir -p /etc/t3hs
|
mkdir -p /etc/t3hs
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user