Skip to content

Commit

Permalink
Format code
Browse files Browse the repository at this point in the history
  • Loading branch information
duksis committed Dec 7, 2019
1 parent 93f1f51 commit f07ef28
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion orb.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,9 @@ commands:
- run:
name: Generate WireGuard VPN client config file
command: |
echo -n "${<<parameters.config>>:?}" | base64 --decode | sed "s/0.0.0.0\/0/$(curl -s https://ifconfig.me)/g" > wg0.conf
echo -n "${<<parameters.config>>:?}" | \
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:
Expand Down

0 comments on commit f07ef28

Please sign in to comment.