1
ewconfig/scripts/wg-edit

10 lines
137 B
Bash
Executable File

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