mirror of
https://github.com/femtofox/femtofox.git
synced 2026-10-26 19:02:00 -04:00
Add back RTC support
This commit is contained in:
parent
eb38cbd223
commit
90c2dba0d5
1 changed files with 8 additions and 0 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue