diff --git a/orb.yml b/orb.yml index 8e31050..0c11504 100644 --- a/orb.yml +++ b/orb.yml @@ -26,7 +26,9 @@ commands: - run: name: Generate WireGuard VPN client config file command: | - echo -n "${<>:?}" | base64 --decode | sed "s/0.0.0.0\/0/$(curl -s https://ifconfig.me)/g" > wg0.conf + echo -n "${<>:?}" | \ + base64 --decode | \ + sed "s/0.0.0.0\/0/$(curl -s https://ifconfig.me)/g" > wg0.conf sudo mv wg0.conf /etc/wireguard/wg0.conf sudo chmod 600 /etc/wireguard/wg0.conf - run: