X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=scripts%2Fcasper-bottom%2F23networking;h=cfc565d365df638bc694d8758a2c58229c99af66;hb=c972c6eea545add125883eaaeea459551e54589c;hp=129ca35e229386e40a2ecc507f6764f2ad230446;hpb=f454e1250e7deec95166035de0d1b303b99b3a0f;p=live-boot-grml.git diff --git a/scripts/casper-bottom/23networking b/scripts/casper-bottom/23networking index 129ca35..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 @@ -34,6 +34,7 @@ iface lo inet loopback EOF udevtrigger +udevsettle if [ -z "${NETBOOT}" -a -n "${STATICIP}" -a "${STATICIP}" != "frommedia" ]; then parsed=$(echo "${STATICIP}" | sed -e 's/:/ /g') @@ -66,8 +67,8 @@ else [ -e $interface ] || continue i="$(basename $interface)" cat >> "$IFFILE" <