try reorder rc.local

This commit is contained in:
nagumii 2025-01-09 15:46:21 +02:00
parent d4d8f2924d
commit dc05c20af4

View file

@ -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