1
ewconfig/scripts/wg-cat

10 lines
136 B
Bash
Executable File

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