1
ewconfig/scripts/wg-cat

10 lines
128 B
Bash

#! /bin/bash
set -e
# Check args
if [ $# != 1 ]; then
echo "Usage: wg-cat <interface>"
fi
sudo cat /etc/wireguard/$1.conf