[riot-commits] [RIOT-OS/RIOT] d726af: dist/tools/*/start_network.sh: ensure TUN/TAP inte...

benpicco noreply at github.com
Wed Apr 8 12:51:07 CEST 2020


  Branch: refs/heads/master
  Home:   https://github.com/RIOT-OS/RIOT
  Commit: d726af2cac5fb5f9aaf285fbfeb234f9a51c3140
      https://github.com/RIOT-OS/RIOT/commit/d726af2cac5fb5f9aaf285fbfeb234f9a51c3140
  Author: Martine S. Lenders <mail at martine-lenders.eu>
  Date:   2020-04-03 (Fri, 03 Apr 2020)

  Changed paths:
    M dist/tools/ethos/start_network.sh
    M dist/tools/sliptty/start_network.sh

  Log Message:
  -----------
  dist/tools/*/start_network.sh: ensure TUN/TAP interface

Previously, when the creation of the TUN/TAP interface failed in one of
the `start_network.sh` scripts, the script will fail with a cryptic
error like

> dist/tools/ethos/start_network.sh: 68: [: -eq: unexpected operator

This fix ensures, that the value of this variable checked is always set
such that in the error case, `ethos`/`sliptty` won't start.


  Commit: ecd266f3d33bceabbf4d34a64d41aba2a8d7dcc4
      https://github.com/RIOT-OS/RIOT/commit/ecd266f3d33bceabbf4d34a64d41aba2a8d7dcc4
  Author: benpicco <benjamin.valentin at ml-pa.com>
  Date:   2020-04-08 (Wed, 08 Apr 2020)

  Changed paths:
    M dist/tools/ethos/start_network.sh
    M dist/tools/sliptty/start_network.sh

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

dist/tools/*/start_network.sh: ensure TUN/TAP interface


Compare: https://github.com/RIOT-OS/RIOT/compare/6ef0bf94102c...ecd266f3d33b


More information about the commits mailing list