Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
@@ -57,7 +57,7 @@ if [ ! -x "$RUNQEMU_IFUP" ]; then
exit 1
fi
-IFCONFIG=`which ifconfig`
+IFCONFIG=`which ifconfig 2> /dev/null`
if [ -z "$IFCONFIG" ]; then
# Is it ever anywhere else?
IFCONFIG=/sbin/ifconfig
@@ -64,7 +64,7 @@ if [ $STATUS -ne 0 ]; then
if [ "x$IFCONFIG" = "x" ]; then
# better than nothing...
@@ -133,7 +133,7 @@ if [ ! -d "$LOCKDIR" ]; then
chmod 777 $LOCKDIR