4 lines
No EOL
201 B
Django/Jinja
4 lines
No EOL
201 B
Django/Jinja
#!/bin/bash
|
|
set -x && \
|
|
source /usr/local/bin/mkpeerkey.sh && \
|
|
echo "AS 4242422002 llv6 {{ llv6 }} wgkey $(cat /etc/systemd/network/$1.pub) IPv4 $(curl -4s api.ipify.io) IPv6 $(curl -6s api.ipify.io)" |