summaryrefslogtreecommitdiffstats
path: root/scripts/runqemu-gen-tapdevs
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/runqemu-gen-tapdevs')
-rw-r--r--scripts/runqemu-gen-tapdevs6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/runqemu-gen-tapdevs b/scripts/runqemu-gen-tapdevs
index 527c01e7b4..f52cf0b9b9 100644
--- a/scripts/runqemu-gen-tapdevs
+++ b/scripts/runqemu-gen-tapdevs
@@ -51,8 +51,8 @@ if [[ ! -x "$TUNCTL" || -d "$TUNCTL" ]]; then
51fi 51fi
52 52
53SCRIPT_DIR=`dirname $0` 53SCRIPT_DIR=`dirname $0`
54POKY_QEMU_IFUP="$SCRIPT_DIR/runqemu-ifup" 54RUNQEMU_IFUP="$SCRIPT_DIR/runqemu-ifup"
55if [ ! -x "$POKY_QEMU_IFUP" ]; then 55if [ ! -x "$RUNQEMU_IFUP" ]; then
56 echo "Error: Unable to find the runqemu-ifup script in $SCRIPT_DIR" 56 echo "Error: Unable to find the runqemu-ifup script in $SCRIPT_DIR"
57 exit 1 57 exit 1
58fi 58fi
@@ -72,7 +72,7 @@ done
72echo "Creating $COUNT tap devices for GID $GID..." 72echo "Creating $COUNT tap devices for GID $GID..."
73for ((index=0; index < $COUNT; index++)); do 73for ((index=0; index < $COUNT; index++)); do
74 echo "Creating tap$index" 74 echo "Creating tap$index"
75 ifup=`$POKY_QEMU_IFUP $GID $SYSROOT 2>&1` 75 ifup=`$RUNQEMU_IFUP $GID $SYSROOT 2>&1`
76 if [ $? -ne 0 ]; then 76 if [ $? -ne 0 ]; then
77 echo "Error running tunctl: $ifup" 77 echo "Error running tunctl: $ifup"
78 exit 1 78 exit 1