test-qr
This commit is contained in:
parent
608c7e1f69
commit
e16a965b0f
7
gen.sh
7
gen.sh
|
@ -54,13 +54,12 @@ echo "PersistentKeepalive = 25" >> vpn.conf
|
|||
|
||||
|
||||
echo "Would You Like To Have This Config On QR-Code Or File:"
|
||||
qr=1
|
||||
file=2
|
||||
echo -e "QR-code Press 1:\nFile Press 2:\n"
|
||||
if [ $qr -eq 1 ];then
|
||||
read user_wish
|
||||
if [ $user_wish -eq 1 ];then
|
||||
qrencode -t ansiutf8 < . qr-scan-me.conf
|
||||
echo "Please scan this code with wireguard-app"
|
||||
elif [ $file -eq 2 ];then
|
||||
elif [ $user_wish -eq 2 ];then
|
||||
echo "Your file is ready"
|
||||
else
|
||||
echo "Oops wrong input"
|
||||
|
|
Loading…
Reference in New Issue