diff --git a/foxbuntu/project/cfg/BoardConfig_IPC/overlay/overlay-luckfox-ubuntu/etc/rc.local b/foxbuntu/project/cfg/BoardConfig_IPC/overlay/overlay-luckfox-ubuntu/etc/rc.local index c8a499a..fcdbf1d 100755 --- a/foxbuntu/project/cfg/BoardConfig_IPC/overlay/overlay-luckfox-ubuntu/etc/rc.local +++ b/foxbuntu/project/cfg/BoardConfig_IPC/overlay/overlay-luckfox-ubuntu/etc/rc.local @@ -6,7 +6,7 @@ luckfox-config load #run only on first boot -if [ -e "/usr/local/bin/.firstboot" ]; then +if [ -e "/etc/.firstboot" ]; then /usr/local/bin/femto-runonce.sh fi diff --git a/foxbuntu/sysdrv/out/rootfs_uclibc_rv1106/etc/.firstboot b/foxbuntu/sysdrv/out/rootfs_uclibc_rv1106/etc/.firstboot new file mode 100644 index 0000000..e60fd6a --- /dev/null +++ b/foxbuntu/sysdrv/out/rootfs_uclibc_rv1106/etc/.firstboot @@ -0,0 +1 @@ +# File to tell rc.local that this is the first boot. Will be deleted automatically. \ No newline at end of file