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