From 04a85d3e0cbc2735c589c76657ee91a9fa09d3ae Mon Sep 17 00:00:00 2001 From: Ruledo Date: Tue, 18 Feb 2025 23:17:10 -0800 Subject: [PATCH] Fixed for auto route updating Already doing this with changes in /etc/network/interfaces --- .../out/rootfs_uclibc_rv1106/usr/local/bin/femto-runonce.sh | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/foxbuntu/sysdrv/out/rootfs_uclibc_rv1106/usr/local/bin/femto-runonce.sh b/foxbuntu/sysdrv/out/rootfs_uclibc_rv1106/usr/local/bin/femto-runonce.sh index f467c0b..9f2a02d 100755 --- a/foxbuntu/sysdrv/out/rootfs_uclibc_rv1106/usr/local/bin/femto-runonce.sh +++ b/foxbuntu/sysdrv/out/rootfs_uclibc_rv1106/usr/local/bin/femto-runonce.sh @@ -79,10 +79,7 @@ mac="$(awk '/Serial/ {print $3}' /proc/cpuinfo | tail -c 11 | sed 's/^\(.*\)/a2\ if ! grep -q "eth0" /etc/network/interfaces; then log_message "Setting eth0 MAC address to $mac (derivative of CPU s/n)" cat <> /etc/network/interfaces -# static mac address for onboard ethernet (castellated pins) -allow-hotplug eth0 -iface eth0 inet dhcp -hwaddress ether $mac + hwaddress ether $mac EOF else log_message "eth0 already exists in /etc/network/interfaces, skipping"