diff options
Diffstat (limited to 'scripts/poky-gen-tapdevs')
| -rwxr-xr-x | scripts/poky-gen-tapdevs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/scripts/poky-gen-tapdevs b/scripts/poky-gen-tapdevs index 2117a7b08e..527c01e7b4 100755 --- a/scripts/poky-gen-tapdevs +++ b/scripts/poky-gen-tapdevs | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | #!/bin/bash | 1 | #!/bin/bash |
| 2 | # | 2 | # |
| 3 | # Create a "bank" of tap network devices that can be used by the | 3 | # Create a "bank" of tap network devices that can be used by the |
| 4 | # poky-qemu script. This script needs to be run as root, and will | 4 | # runqemu script. This script needs to be run as root, and will |
| 5 | # use the tunctl binary from a Poky sysroot. Note: many Linux distros | 5 | # use the tunctl binary from a Poky sysroot. Note: many Linux distros |
| 6 | # these days still use an older version of tunctl which does not | 6 | # these days still use an older version of tunctl which does not |
| 7 | # support the group permissions option, hence the need to use Poky's | 7 | # support the group permissions option, hence the need to use Poky's |
| @@ -51,9 +51,9 @@ 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/poky-qemu-ifup" | 54 | POKY_QEMU_IFUP="$SCRIPT_DIR/runqemu-ifup" |
| 55 | if [ ! -x "$POKY_QEMU_IFUP" ]; then | 55 | if [ ! -x "$POKY_QEMU_IFUP" ]; then |
| 56 | echo "Error: Unable to find the poky-qemu-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 |
| 59 | 59 | ||
| @@ -79,7 +79,7 @@ for ((index=0; index < $COUNT; index++)); do | |||
| 79 | fi | 79 | fi |
| 80 | done | 80 | done |
| 81 | 81 | ||
| 82 | # The poky-qemu script will check for this file, and if it exists, | 82 | # The runqemu script will check for this file, and if it exists, |
| 83 | # will use the existing bank of tap devices without creating | 83 | # will use the existing bank of tap devices without creating |
| 84 | # additional ones via sudo. | 84 | # additional ones via sudo. |
| 85 | touch /etc/poky-nosudo | 85 | touch /etc/poky-nosudo |
