2
0
mirror of https://github.com/pirate/wireguard-docs synced 2024-11-15 06:12:44 +00:00
wireguard-docs/full-example/public-server1/stop.sh
2019-05-28 05:33:04 -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