mirror of https://github.com/dadevel/wg-netns
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
10 lines
224 B
Bash
10 lines
224 B
Bash
3 years ago
|
#!/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"
|