ZeroTierOne/ext/installfiles/linux/zerotier-containerized/main.sh

11 lines
203 B
Bash
Raw Normal View History

#!/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 "$@"