[riot-notifications] [RIOT] native: unify and simplify usage of tapsetup script (#3182)

Cenk Gündoğan notifications at github.com
Tue Jun 23 17:27:12 CEST 2015


> +        FreeBSD)
> +            sudo kldload if_tap || exit 1;;
> +            sudo sysctl net.link.tap.user_open=1
> +        *)
> +            ;;
> +    esac
> +}
> +
> +create_tap() {
> +    case "${PLATFORM}" in
> +        FreeBSD)
> +            echo "creating ${TAPNAME}${N}" || exit 1
> +            sudo ifconfig tap${N} create || exit 1
> +            sudo chown ${USER} /dev/tap${N} || exit 1
> +            sudo ifconfig ${BRNAME} addm tap${N} || exit 1 ;;
> +            sudo ifconfig tap${N} up || exit 1

here again, `;;` needes to be at the end

---
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/3182/files#r33053862
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20150623/e596e89f/attachment.html>


More information about the notifications mailing list