Fixing the umask operation by transferring it to the script itself. (#701)

Signed-off-by: Shreshth Goyal <abrattic@protonmail.com>
This commit is contained in:
abrattic
2022-05-04 00:18:52 +05:30
committed by GitHub
parent bde728cdd5
commit d593b845b0
+2 -1
View File
@@ -10,6 +10,8 @@ For each new client, the following steps must be taken. For the sake of simplici
```bash
#!/bin/bash
umask 077
ipv4="$1$4"
ipv6="$2$4"
serv4="${1}1"
@@ -51,7 +53,6 @@ For each new client, the following steps must be taken. For the sake of simplici
```bash
sudo -i
cd /etc/wireguard
umask 077
bash "10.100.0." "fd08:4711::" "my_server_domain:47111" 2 "annas-android"
bash "10.100.0." "fd08:4711::" "my_server_domain:47111" 3 "peters-laptop"