Mercurial > hg > quicktun
diff deb/static/etc/network/if-up.d/quicktun @ 68:18e0b8bdeecc
Actually renamed debian directory
author | Ivo Smits <Ivo@UFO-Net.nl> |
---|---|
date | Sun, 29 Jan 2017 14:09:08 +0100 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/deb/static/etc/network/if-up.d/quicktun Sun Jan 29 14:09:08 2017 +0100 @@ -0,0 +1,8 @@ +#!/bin/sh +test -n "${IF_QT_REMOTE_ADDRESS}" || exit 0 +if [ -z "${IF_QT_NO_PRECREATE}" ]; then + RUNUSER="quicktun" +else + RUNUSER="root" +fi +/usr/bin/daemon -n "quicktun.${IFACE}" -u "${RUNUSER}" -i -l daemon.err -b daemon.debug -o daemon.debug /usr/sbin/quicktun.debian