mirror of
https://github.com/didyouexpectthat/zerotierone.git
synced 2024-11-13 19:50:07 -08:00
11 lines
212 B
Bash
Executable File
11 lines
212 B
Bash
Executable File
#!/bin/sh
|
|
|
|
export PATH=/bin:/usr/bin:/usr/local/bin:/sbin:/usr/sbin
|
|
|
|
if [ ! -e /dev/net/tun ]; then
|
|
echo 'FATAL: cannot start ZeroTier One in container: /dev/net/tun not present.'
|
|
exit 1
|
|
fi
|
|
|
|
exec /zerotier-one
|