summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
a98122b)
Quoting Marc from issue1196:
| in recent busyboxes, sourcing a non-existent file makes busybox
| (silently?) exit, which in case of scripts/live leads to an immediate kernel
| panic since the root fs is not yet mounted.
Thanks: Marc 'Zugschlus' Haber for the bugreport and debugging this issue
fi
# split args of ethdevice=eth0,eth1 into "eth0 eth1"
fi
# split args of ethdevice=eth0,eth1 into "eth0 eth1"
devlist="$devlist $device"
done
devlist="$devlist $device"
done
- export DEVICE="$dev"
- break
+ IPV4ADDR="0.0.0.0"
- export DEVICE="$dev"
- break
+ IPV4ADDR="0.0.0.0"
-+ . /tmp/net-${device}.conf
++ if [ -e "/tmp/net-${device}.conf" ]; then
++ . /tmp/net-${device}.conf
++ fi
+ if [ "${IPV4ADDR}" != "0.0.0.0" ]; then
+ export DEVICE="$dev $DEVICE"
+ # break # exit loop as we just use the irst
+ if [ "${IPV4ADDR}" != "0.0.0.0" ]; then
+ export DEVICE="$dev $DEVICE"
+ # break # exit loop as we just use the irst