diff options
| author | Daniel Baumann <daniel@debian.org> | 2007-09-23 14:46:30 +0200 |
|---|---|---|
| committer | Daniel Baumann <daniel@debian.org> | 2007-09-23 14:46:30 +0200 |
| commit | 9fda4b0552744a305a699855e2ad3907e8cab164 (patch) | |
| tree | fe188681a51e406a3811bb708c6d3df31cb3e5a8 /scripts/casper-bottom/23networking | |
| parent | beec4f9fb766be23d575b070e398639d5a4a9c9d (diff) | |
| download | live-boot-9fda4b0552744a305a699855e2ad3907e8cab164.tar.gz live-boot-9fda4b0552744a305a699855e2ad3907e8cab164.zip | |
Adding casper 1.81+debian-1.
Diffstat (limited to 'scripts/casper-bottom/23networking')
| -rwxr-xr-x | scripts/casper-bottom/23networking | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/scripts/casper-bottom/23networking b/scripts/casper-bottom/23networking index 116b1d6..cfc565d 100755 --- a/scripts/casper-bottom/23networking +++ b/scripts/casper-bottom/23networking @@ -21,7 +21,7 @@ esac log_begin_msg "$DESCRIPTION" -if [ "${STATICIP}" == "frommedia" -a -e "$IFFILE" ] ; then +if [ "${STATICIP}" = "frommedia" -a -e "$IFFILE" ] ; then # will use existent /etc/network/interfaces log_end_msg exit 0 @@ -33,11 +33,7 @@ iface lo inet loopback EOF -if [ "${BUILD_SYSTEM}" == "Ubuntu" ]; then - udevtrigger -Bpci -Iclass="0x02*" -else - udevtrigger -fi +udevtrigger udevsettle if [ -z "${NETBOOT}" -a -n "${STATICIP}" -a "${STATICIP}" != "frommedia" ]; then @@ -71,8 +67,8 @@ else [ -e $interface ] || continue i="$(basename $interface)" cat >> "$IFFILE" <<EOF -auto ${i} -iface ${i} inet ${method} +auto $i +iface $i inet ${method} EOF done |
