File: tinc.if-up

package info (click to toggle)
tinc 1.0.36-2.1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,284 kB
  • sloc: ansic: 13,148; sh: 4,378; makefile: 130
file content (9 lines) | stat: -rwxr-xr-x 119 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
#!/bin/sh

set -e

if [ "$METHOD" = loopback -o -n "$IF_TINC_NET" ]; then
	exit 0
fi

invoke-rc.d tinc alarm || exit 0