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"