summaryrefslogtreecommitdiff
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-20 23:46:46 +0100
commit747fcc030d2bdd7c0551e366ceb8f2a38c063b26 (patch)
tree4c1f35828bc723d64333a67a97e50b1fcb7c6c2f /scripts/runqemu-gen-tapdevs
parent877b3d84597fcfc3abf5aa332019d412f2717896 (diff)
downloadopenembedded-core-747fcc030d2bdd7c0551e366ceb8f2a38c063b26.tar.gz
openembedded-core-747fcc030d2bdd7c0551e366ceb8f2a38c063b26.tar.bz2
openembedded-core-747fcc030d2bdd7c0551e366ceb8f2a38c063b26.tar.xz
openembedded-core-747fcc030d2bdd7c0551e366ceb8f2a38c063b26.zip
POKY_QEMU_IFUP -> RUNQEMU_IFUP
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/runqemu-gen-tapdevs')
-rwxr-xr-xscripts/runqemu-gen-tapdevs6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/runqemu-gen-tapdevs b/scripts/runqemu-gen-tapdevs
index 527c01e7b..f52cf0b9b 100755
--- a/scripts/runqemu-gen-tapdevs
+++ b/scripts/runqemu-gen-tapdevs
@@ -51,8 +51,8 @@ if [[ ! -x "$TUNCTL" || -d "$TUNCTL" ]]; then
fi
SCRIPT_DIR=`dirname $0`
-POKY_QEMU_IFUP="$SCRIPT_DIR/runqemu-ifup"
-if [ ! -x "$POKY_QEMU_IFUP" ]; then
+RUNQEMU_IFUP="$SCRIPT_DIR/runqemu-ifup"
+if [ ! -x "$RUNQEMU_IFUP" ]; then
echo "Error: Unable to find the runqemu-ifup script in $SCRIPT_DIR"
exit 1
fi
@@ -72,7 +72,7 @@ done
echo "Creating $COUNT tap devices for GID $GID..."
for ((index=0; index < $COUNT; index++)); do
echo "Creating tap$index"
- ifup=`$POKY_QEMU_IFUP $GID $SYSROOT 2>&1`
+ ifup=`$RUNQEMU_IFUP $GID $SYSROOT 2>&1`
if [ $? -ne 0 ]; then
echo "Error running tunctl: $ifup"
exit 1