Add back RTC support

This commit is contained in:
nagumii 2024-12-20 15:30:59 +02:00
parent eb38cbd223
commit 90c2dba0d5

View file

@ -3,6 +3,14 @@
#resize filesystem to fill partition
/usr/bin/filesystem_resize.sh
bash <<EOF
# Add RTC support
echo ds1307 0x68 > /sys/class/i2c-adapter/i2c-3/new_device
EOF
msg="First boot: Added RTC support."
echo "$msg"
logger "$msg"
# prevent randomized mac address for eth0
msg="First boot: Setting eth0 MAC address to derivative of CPU s/n."
echo "$msg"