1
1
mirror of https://github.com/namibia/openvpn-install.git synced 2024-12-22 23:08:55 +00:00

Create user from text file

Fix #732
This commit is contained in:
Stanislas 2020-12-08 21:39:51 +01:00 committed by GitHub
parent 5acd9a0446
commit ea236de3e3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

8
FAQ.md
View File

@ -125,6 +125,14 @@ for i in ${userlist[@]};do
done done
``` ```
From a list in a text file:
```sh
while read USER
do MENU_OPTION="1" CLIENT="$USER" PASS="1" ./openvpn-install.sh
done < users.txt
```
--- ---
**Q:** How do I change the default `.ovpn` file created for future clients? **Q:** How do I change the default `.ovpn` file created for future clients?