Merge pull request #167 from noon92/working

try reorder rc.local
This commit is contained in:
noon92 2025-01-09 15:46:44 +02:00 • committed by GitHub
commit ea85ac76d9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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