2
0
mirror of https://github.com/pirate/wireguard-docs synced 2024-11-17 03:25:48 +00:00
wireguard-docs/example-full/laptop/stop.sh
2019-06-24 05:43:36 -04:00

6 lines
117 B
Bash

#!/bin/bash
PEER_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
wg-quick down "$PEER_DIR"/wg0.conf
wg show