22 lines
278 B
Bash
Executable File
22 lines
278 B
Bash
Executable File
#!/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
|