From ce73cafcd4cf4fe1e637d9636780c3d3609998ca Mon Sep 17 00:00:00 2001
From: John Bowler <jbowler@nslu2-linux.org>
Date: Sun, 29 Jan 2006 10:33:38 +0000
Subject: slugos-init: update for new LEDs, turnup save/restore suppport in
 0.10  - /sbin/leds is now a script which uses /sys/class/leds    All scripts
 are not in /sbin    /sbin/sysconf does SysConf reading and now implements
 save/restore    of the system configuration.    turnup, reflash and
 sysconfsetup use /sbin/sysconf as appropriate    Unused files removed

---
 packages/slugos-init/files/boot/network | 11 +----------
 1 file changed, 1 insertion(+), 10 deletions(-)

(limited to 'packages/slugos-init/files/boot/network')

diff --git a/packages/slugos-init/files/boot/network b/packages/slugos-init/files/boot/network
index 02b226d1f3..599250e744 100755
--- a/packages/slugos-init/files/boot/network
+++ b/packages/slugos-init/files/boot/network
@@ -11,15 +11,6 @@
 # Now all the information for booting should be in the configuration
 # file.  Config the loopback and network interfaces.
 ifconfig lo 127.0.0.1 up
-mac="$(config mac)"
 iface="$(config iface)"
-if test -n "$mac" -a -n "$iface" -a "$mac" != "00:00:00:00:00:00" -a "$mac" != "FF:FF:FF:FF:FF:FF"
-then
-	if ifconfig "$iface" hw ether "$mac" &&
-	   ifup "$iface"
-	then
-		exit 0
-	fi
-fi
+test -n "$iface" && ifup "$iface"
 # exit code is true only if the interface config has succeeded
-exit 1
-- 
cgit v1.2.3