X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=scripts%2Fcasper-bottom%2F23networking;h=cfc565d365df638bc694d8758a2c58229c99af66;hb=c972c6eea545add125883eaaeea459551e54589c;hp=116b1d650668256fa67c2e29a850c177b9ba3287;hpb=d6720db9b86cd1f0668123d069b5547dca4c713c;p=live-boot-grml.git 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" <