1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

Merge pull request #13801 from miri64/tools/fix/start_network-interface-init

dist/tools/*/start_network.sh: ensure TUN/TAP interface
This commit is contained in:
benpicco 2020-04-08 12:51:03 +02:00 committed by GitHub
commit ecd266f3d3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

View File

@ -58,6 +58,7 @@ PORT=$1
TAP=$2
PREFIX=$3
BAUDRATE=115200
START_ETHOS=1
[ -z "${PORT}" -o -z "${TAP}" -o -z "${PREFIX}" ] && {
echo "usage: $0 [-d|--use-dhcp] [-e|--ethos-only] " \

View File

@ -7,6 +7,7 @@ TUN=sl0
TUN_GLB="fdea:dbee:f::1/64"
UHCPD_PID=
CREATED_IFACE=0
START_SLIP=1
SUDO=${SUDO:-sudo}