summaryrefslogtreecommitdiffstats
path: root/scripts/runqemu-gen-tapdevs
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2011-04-20 23:35:00 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-04-21 00:29:32 +0100
commit972ebfe9e4f938c30f2a79b680ac60f35590db44 (patch)
tree4f2aeb2cfd68a6229d2989d355a8e69e1a42134e /scripts/runqemu-gen-tapdevs
parent2c2e61743c8d6620a04aa5cb534af78f51b2845e (diff)
downloadpoky-972ebfe9e4f938c30f2a79b680ac60f35590db44.tar.gz
POKY_QEMU_IFUP -> RUNQEMU_IFUP
(From OE-Core rev: 747fcc030d2bdd7c0551e366ceb8f2a38c063b26) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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