11 lines
142 B
Bash
11 lines
142 B
Bash
|
#!/usr/bin/env sh
|
||
|
|
||
|
create_net_dev() {
|
||
|
mkdir -p /dev/net
|
||
|
mknod /dev/net/tun c 10 200
|
||
|
chmod 600 /dev/net/tun
|
||
|
}
|
||
|
|
||
|
create_net_dev
|
||
|
"$@"
|