X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=scripts%2Fcasper-bottom%2F23networking;h=129ca35e229386e40a2ecc507f6764f2ad230446;hb=f454e1250e7deec95166035de0d1b303b99b3a0f;hp=f4103211098997561ce2c7e322bf0804f4b89722;hpb=4042b2eda2107dda511a29ae376d9724e0fd7a33;p=live-boot-grml.git diff --git a/scripts/casper-bottom/23networking b/scripts/casper-bottom/23networking index f410321..129ca35 100755 --- a/scripts/casper-bottom/23networking +++ b/scripts/casper-bottom/23networking @@ -21,10 +21,10 @@ esac log_begin_msg "$DESCRIPTION" -if [ "${STATICIP}" == "frommedia" ] && [ -e "$IFFILE" ] ; then - # will use existent /etc/network/interfaces - log_end_msg - exit 0 +if [ "${STATICIP}" == "frommedia" -a -e "$IFFILE" ] ; then + # will use existent /etc/network/interfaces + log_end_msg + exit 0 fi cat > "$IFFILE" <> "$IFFILE" <> "$IFFILE" <> "$IFFILE" <> "$IFFILE" < /root/etc/resolv.conf <> /root/var/log/netboot.config + fi fi log_end_msg