Browse Source

Merge branch 'master' of gitlab.altinea.fr:julien.escario/install-scripts

pull/1/head
Julien Escario 5 years ago
parent
commit
93595b6e85
  1. 1
      wireguard/deploy-wg-clients.sh

1
wireguard/deploy-wg-clients.sh

@ -1,6 +1,5 @@
#!/bin/bash #!/bin/bash
#re='^[0-9]{1,3}$'
if ! [[ $IP =~ ^[0-9]{1,3}$ ]] ; then if ! [[ $IP =~ ^[0-9]{1,3}$ ]] ; then
echo "error: Please set IP variable (with IP=1-254. See https://phpipam.altinea.fr" >&2; exit 1 echo "error: Please set IP variable (with IP=1-254. See https://phpipam.altinea.fr" >&2; exit 1
fi fi

Loading…
Cancel
Save