File: if-up

package info (click to toggle)
quicktun 2.2.6-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 240 kB
  • sloc: ansic: 2,098; sh: 185; makefile: 8
file content (8 lines) | stat: -rwxr-xr-x 261 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
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