diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-04-20 23:35:00 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-04-21 00:29:32 +0100 |
commit | 972ebfe9e4f938c30f2a79b680ac60f35590db44 (patch) | |
tree | 4f2aeb2cfd68a6229d2989d355a8e69e1a42134e /scripts/runqemu-gen-tapdevs | |
parent | 2c2e61743c8d6620a04aa5cb534af78f51b2845e (diff) | |
download | poky-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-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 |