This commit is contained in:
2022-04-25 16:02:24 +03:00
commit 515df425f1
3 changed files with 62 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
#!/bin/sh
PREREQ=""
prereqs()
{
echo "$PREREQ"
}
case $1 in
prereqs)
prereqs
exit 0
;;
esac
. /scripts/functions
log_begin_msg "Starting yggdrasil"
modprobe tun
mkdir /var/run
exec /sbin/yggdrasil -useconffile /etc/yggdrasil.conf &
echo $! >/run/yggdrasil.pid
log_end_msg