aboutsummaryrefslogtreecommitdiffstats
path: root/community/yggdrasil/yggdrasil.post-install
blob: 95d247b98e205e2b2156850ac87c08db803155ae (plain)
1
2
3
4
5
6
7
8
#!/bin/sh -e
modprobe tun

if [ ! -e "/etc/yggdrasil.conf" ]; then
	(umask 077; yggdrasil -genconf > /etc/yggdrasil.conf)
fi

exit 0