From dc05c20af409cea24331666310338ea200ea7a5a Mon Sep 17 00:00:00 2001 From: nagumii Date: Thu, 9 Jan 2025 15:46:21 +0200 Subject: [PATCH] try reorder rc.local --- .../overlay/overlay-luckfox-ubuntu/etc/rc.local | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 fcdbf1d..56ca196 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 @@ -3,13 +3,13 @@ # supposedly needed for usb storage, but works anyway #/etc/init.d/S50usbdevice start -luckfox-config load - #run only on first boot if [ -e "/etc/.firstboot" ]; then /usr/local/bin/femto-runonce.sh fi +luckfox-config load + # try enable RTC echo 'ds1307 0x68' | sudo tee /sys/class/i2c-adapter/i2c-3/new_device > /dev/null 2>&1