From d331be704fbf8577945379af72cc1734afc6f387 Mon Sep 17 00:00:00 2001 From: nagumii Date: Sat, 21 Dec 2024 18:08:02 +0200 Subject: [PATCH] Tidy up runonce.sh --- .../out/rootfs_uclibc_rv1106/usr/local/bin/runonce.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/foxbuntu/sysdrv/out/rootfs_uclibc_rv1106/usr/local/bin/runonce.sh b/foxbuntu/sysdrv/out/rootfs_uclibc_rv1106/usr/local/bin/runonce.sh index a2d8b8f..e34a112 100755 --- a/foxbuntu/sysdrv/out/rootfs_uclibc_rv1106/usr/local/bin/runonce.sh +++ b/foxbuntu/sysdrv/out/rootfs_uclibc_rv1106/usr/local/bin/runonce.sh @@ -1,10 +1,10 @@ #!/bin/bash -#resize filesystem to fill partition +# resize filesystem to fill partition /usr/bin/filesystem_resize.sh +# add RTC support bash < /sys/class/i2c-adapter/i2c-3/new_device EOF msg="First boot: Added RTC support." @@ -37,9 +37,9 @@ systemctl start meshtasticd msg="First boot: Enabling wifi setting in Meshtasticd." echo "$msg" logger "$msg" -#/usr/local/bin/updatemeshtastic.sh "--set lora.region US" 10 "First boot" /usr/local/bin/updatemeshtastic.sh "--set network.wifi_enabled true" 10 "First boot" +# remove first boot flag rm /usr/local/bin/.firstboot msg="First boot: Removing first boot flag and rebooting..." echo "$msg"