From: Harald Hoyer Date: Mon, 13 Jul 2009 12:23:49 +0000 (+0200) Subject: removed warning "No ip= argument(s) for netroot provided..." X-Git-Tag: 0.5~54 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1c709728eca0296eefe43d89947d70ebae313e64;p=platform%2Fupstream%2Fdracut.git removed warning "No ip= argument(s) for netroot provided..." --- diff --git a/modules.d/40network/parse-ip-opts.sh b/modules.d/40network/parse-ip-opts.sh index c748fdf..7e1ea6b 100755 --- a/modules.d/40network/parse-ip-opts.sh +++ b/modules.d/40network/parse-ip-opts.sh @@ -45,9 +45,8 @@ getarg ip= >/dev/null && getarg BOOTIF= >/dev/null && \ # No more parsing stuff, BOOTIF says everything [ -n "$(getarg BOOTIF)" ] && return -# Warn if defaulting to ip=dhcp if [ -n "$netroot" ] && [ -z "$(getarg ip=)" ] ; then - warn "No ip= argument(s) for netroot provided, defaulting to DHCP" + # No ip= argument(s) for netroot provided, defaulting to DHCP return; fi @@ -143,4 +142,4 @@ fi [ -n "$IFACES" ] && echo $IFACES > /tmp/net.ifaces # We need a ip= line for the configured bootdev= -[ -n "$NEEDBOOTDEV" ] && [ -z "$BOOTDEVOK" ] && die "Bootdev Argument '$BOOTDEV' not found" \ No newline at end of file +[ -n "$NEEDBOOTDEV" ] && [ -z "$BOOTDEVOK" ] && die "Bootdev Argument '$BOOTDEV' not found"