diff options
-rwxr-xr-x | scripts/runqemu-gen-tapdevs | 2 | ||||
-rwxr-xr-x | scripts/runqemu-ifup | 2 | ||||
-rwxr-xr-x | scripts/runqemu-internal | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/scripts/runqemu-gen-tapdevs b/scripts/runqemu-gen-tapdevs index 995e1d5204..9f313879e6 100755 --- a/scripts/runqemu-gen-tapdevs +++ b/scripts/runqemu-gen-tapdevs | |||
@@ -57,7 +57,7 @@ if [ ! -x "$RUNQEMU_IFUP" ]; then | |||
57 | exit 1 | 57 | exit 1 |
58 | fi | 58 | fi |
59 | 59 | ||
60 | IFCONFIG=`which ifconfig` | 60 | IFCONFIG=`which ifconfig 2> /dev/null` |
61 | if [ -z "$IFCONFIG" ]; then | 61 | if [ -z "$IFCONFIG" ]; then |
62 | # Is it ever anywhere else? | 62 | # Is it ever anywhere else? |
63 | IFCONFIG=/sbin/ifconfig | 63 | IFCONFIG=/sbin/ifconfig |
diff --git a/scripts/runqemu-ifup b/scripts/runqemu-ifup index f9b2f035cd..987a37a1a7 100755 --- a/scripts/runqemu-ifup +++ b/scripts/runqemu-ifup | |||
@@ -64,7 +64,7 @@ if [ $STATUS -ne 0 ]; then | |||
64 | exit 1 | 64 | exit 1 |
65 | fi | 65 | fi |
66 | 66 | ||
67 | IFCONFIG=`which ifconfig` | 67 | IFCONFIG=`which ifconfig 2> /dev/null` |
68 | if [ "x$IFCONFIG" = "x" ]; then | 68 | if [ "x$IFCONFIG" = "x" ]; then |
69 | # better than nothing... | 69 | # better than nothing... |
70 | IFCONFIG=/sbin/ifconfig | 70 | IFCONFIG=/sbin/ifconfig |
diff --git a/scripts/runqemu-internal b/scripts/runqemu-internal index 883fa5b902..19f8d3de8e 100755 --- a/scripts/runqemu-internal +++ b/scripts/runqemu-internal | |||
@@ -133,7 +133,7 @@ if [ ! -d "$LOCKDIR" ]; then | |||
133 | chmod 777 $LOCKDIR | 133 | chmod 777 $LOCKDIR |
134 | fi | 134 | fi |
135 | 135 | ||
136 | IFCONFIG=`which ifconfig` | 136 | IFCONFIG=`which ifconfig 2> /dev/null` |
137 | if [ -z "$IFCONFIG" ]; then | 137 | if [ -z "$IFCONFIG" ]; then |
138 | IFCONFIG=/sbin/ifconfig | 138 | IFCONFIG=/sbin/ifconfig |
139 | fi | 139 | fi |