Merge pull request #57 from noon92/working

Add back RTC support
This commit is contained in:
noon92 2024-12-20 15:31:19 +02:00 • committed by GitHub
commit 1ff6283da4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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"