diff options
Diffstat (limited to 'scripts/runqemu-ifdown')
-rwxr-xr-x | scripts/runqemu-ifdown | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/runqemu-ifdown b/scripts/runqemu-ifdown index 8f66cfa2a9..ffbc9de442 100755 --- a/scripts/runqemu-ifdown +++ b/scripts/runqemu-ifdown | |||
@@ -41,11 +41,11 @@ if [ $# -ne 2 ]; then | |||
41 | fi | 41 | fi |
42 | 42 | ||
43 | TAP=$1 | 43 | TAP=$1 |
44 | NATIVE_SYSROOT_DIR=$2 | 44 | STAGING_BINDIR_NATIVE=$2 |
45 | 45 | ||
46 | TUNCTL=$NATIVE_SYSROOT_DIR/usr/bin/tunctl | 46 | TUNCTL=$STAGING_BINDIR_NATIVE/tunctl |
47 | if [ ! -e "$TUNCTL" ]; then | 47 | if [ ! -e "$TUNCTL" ]; then |
48 | echo "Error: Unable to find tunctl binary in '$NATIVE_SYSROOT_DIR/usr/bin', please bitbake qemu-helper-native" | 48 | echo "Error: Unable to find tunctl binary in '$STAGING_BINDIR_NATIVE', please bitbake qemu-helper-native" |
49 | exit 1 | 49 | exit 1 |
50 | fi | 50 | fi |
51 | 51 | ||