Skip to content

Instantly share code, notes, and snippets.

@retrontology
retrontology / openrc-init-pia
Last active July 9, 2020 02:41 — forked from triffid/openrc-init-pia
shell script for accessing PIA wireguard
#!/sbin/openrc-run
command="/root/bin/pia-wg.sh"
CONFIGDIR="${CONFIGDIR:-/etc/pia-wg}"
CONFIG="${CONFIG:-$CONFIGDIR/pia-wg.conf}"
depend() {
need net sysfs
after modules