1
ewconfig/scripts/wg-edit

10 lines
129 B
Bash

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