Rundir für fastd erstellen, falls es noch nicht existiert

master
Thomas Hooge 2017-01-29 16:22:36 +01:00
parent c411692bb5
commit 34dc056660
1 changed files with 5 additions and 0 deletions

View File

@ -43,6 +43,11 @@ if test -e /etc/default/$NAME ; then
. /etc/default/$NAME . /etc/default/$NAME
fi fi
if [ ! -d /var/run/fastd ]; then
mkdir /var/run/fastd/
chown fastd. /var/run/fastd
fi
start_vpn () { start_vpn () {
STATUS=0 STATUS=0
start-stop-daemon --start --quiet --oknodo \ start-stop-daemon --start --quiet --oknodo \