diff options
author | John Bowler <jbowler@nslu2-linux.org> | 2006-01-29 10:33:38 +0000 |
---|---|---|
committer | OpenEmbedded Project <openembedded-devel@lists.openembedded.org> | 2006-01-29 10:33:38 +0000 |
commit | ce73cafcd4cf4fe1e637d9636780c3d3609998ca (patch) | |
tree | fefde623452feb70d8e01ec23f1c92bd510247bd /packages/slugos-init/files/boot/network | |
parent | 726cd5cea1eff14184731f709a5409da494f9dc3 (diff) |
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
Diffstat (limited to 'packages/slugos-init/files/boot/network')
-rwxr-xr-x | packages/slugos-init/files/boot/network | 11 |
1 files changed, 1 insertions, 10 deletions
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 |