2
0
mirror of https://github.com/dadevel/wg-netns synced 2024-10-30 21:20:12 +00:00
wg-netns/setup.sh
2021-05-28 11:37:51 +02:00

10 lines
224 B
Bash
Executable File

#!/bin/sh
PS4='> '
set -eux
PREFIX="${PREFIX:-/usr/local}"
cd "$(dirname "$0")"
install -m 0755 -D ./wg-netns.py "$PREFIX/bin/wg-netns"
install -m 0644 -D ./wg-netns@.service "$PREFIX/lib/systemd/system/wg-netns@.service"