make peerconf.sh use bash

This commit is contained in:
h 2025-01-25 17:04:36 -08:00
parent bcb0e23588
commit cd0ac8d5d1
Signed by: 9pfs
SSH key fingerprint: SHA256:jgJ8oy3dFgbNXEiRdZlbUhItY8fbh4UvvJ2qhxoOC88

View file

@ -1,4 +1,4 @@
#!/bin/sh #!/bin/bash
set -x && \ set -x && \
source /usr/local/bin/mkpeerkey.sh && \ 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)" echo "AS 4242422002 llv6 {{ llv6 }} wgkey $(cat /etc/systemd/network/$1.pub) IPv4 $(curl -4s api.ipify.io) IPv6 $(curl -6s api.ipify.io)"