1749849240

This commit is contained in:
2025-06-13 15:13:59 -06:00
parent 0f71fa46d9
commit a0b80818ae
2 changed files with 29 additions and 0 deletions
+4
View File
@@ -26,6 +26,7 @@ telegraf_new="$1/telegraf.conf"
udev_new="$1/50-tty.rules"
bootfirmwareconfig_new="$1/boot-firmware-config.txt"
hwclockset_new="$1/hwclock-set"
crontab_new="$1/root-crontab"
# stop da services
bash ./services.sh stop 1>/dev/null 2>/dev/null
@@ -66,5 +67,8 @@ else
# sudo bash -c "echo 'dtoverlay=i2c-rtc,ds3231' >> /boot/firmware/config.txt"
fi
echo "Setting up crontab"
sudo crontab $crontab_new
# start da services
bash ./services.sh start 1>/dev/null