mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2024-12-25 00:11:06 +00:00
10 lines
137 B
Bash
10 lines
137 B
Bash
|
#!/bin/sh
|
||
|
set -e
|
||
|
|
||
|
[ -d /dev/net ] ||
|
||
|
mkdir -p /dev/net
|
||
|
[ -c /dev/net/tun ] ||
|
||
|
mknod /dev/net/tun c 10 200
|
||
|
|
||
|
[ "$1" ] && exec "$@"
|