POKY_QEMU_IFUP -> RUNQEMU_IFUP

(From OE-Core rev: 747fcc030d2bdd7c0551e366ceb8f2a38c063b26)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Richard Purdie 2011-04-20 23:35:00 +01:00
parent 2c2e61743c
commit 972ebfe9e4
1 changed files with 3 additions and 3 deletions

View File

@ -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