Files

16 lines
312 B
Plaintext

---
functions:
shell:
- code: |-
cat >/path/to/temp-file.conf <<EOF
[Interface]
PostUp = /bin/sh
EOF
wg-quick up /path/to/temp-file.conf
comment: |-
Use `wg-quick down /path/to/temp-file.conf` in order to be able to run the shell again.
contexts:
sudo:
...