Update rc.local

This commit is contained in:
nagumii 2024-12-05 12:49:03 +02:00
parent 18b33d99ff
commit da0cc78dab

View file

@ -17,7 +17,8 @@ allow-hotplug eth0
iface eth0 inet dhcp
hwaddress ether $(awk '/Serial/ {print $3}' /proc/cpuinfo | tail -c 11 | sed 's/^\(.*\)/a2\1/' | sed 's/\(..\)/\1:/g;s/:$//')
EOF
ifup eth0
echo "Rebooting..."
reboot
fi
# try enable RTC