File: wireguard-quick

package info (click to toggle)
ifupdown-ng 0.12.1-8
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 964 kB
  • sloc: ansic: 3,572; sh: 980; makefile: 233
file content (11 lines) | stat: -rwxr-xr-x 144 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh
[ -n "$VERBOSE" ] && set -x

case "$PHASE" in
create)
	${MOCK} wg-quick up $IFACE
	;;
destroy)
	${MOCK} wg-quick down $IFACE
	;;
esac