diff options
Diffstat (limited to 'scripts/runqemu-gen-tapdevs')
-rw-r--r-- | scripts/runqemu-gen-tapdevs | 6 |
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 | |||
51 | fi | 51 | fi |
52 | 52 | ||
53 | SCRIPT_DIR=`dirname $0` | 53 | SCRIPT_DIR=`dirname $0` |
54 | POKY_QEMU_IFUP="$SCRIPT_DIR/runqemu-ifup" | 54 | RUNQEMU_IFUP="$SCRIPT_DIR/runqemu-ifup" |
55 | if [ ! -x "$POKY_QEMU_IFUP" ]; then | 55 | if [ ! -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 |
58 | fi | 58 | fi |
@@ -72,7 +72,7 @@ done | |||
72 | echo "Creating $COUNT tap devices for GID $GID..." | 72 | echo "Creating $COUNT tap devices for GID $GID..." |
73 | for ((index=0; index < $COUNT; index++)); do | 73 | for ((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 |