diff options
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 |