File: if-down

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 205 bytes parent folder | download | duplicates (4)
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
daemon -n "quicktun.${IFACE}" -u "${RUNUSER}" --stop