Wrong case for the warning
This commit is contained in:
parent
ed5fddbb89
commit
42d2b7456f
1 changed files with 2 additions and 2 deletions
|
|
@ -122,10 +122,10 @@ if [[ -e /etc/openvpn/server.conf ]]; then
|
||||||
cd /etc/openvpn/easy-rsa/
|
cd /etc/openvpn/easy-rsa/
|
||||||
case $pass in
|
case $pass in
|
||||||
1)
|
1)
|
||||||
echo "⚠️ You will be asked for the client password below"
|
|
||||||
./easyrsa build-client-full $CLIENT nopass
|
./easyrsa build-client-full $CLIENT nopass
|
||||||
;;
|
;;
|
||||||
2)
|
2)
|
||||||
|
echo "⚠️ You will be asked for the client password below"
|
||||||
./easyrsa build-client-full $CLIENT
|
./easyrsa build-client-full $CLIENT
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
@ -501,10 +501,10 @@ WantedBy=multi-user.target" > /etc/systemd/system/iptables.service
|
||||||
./easyrsa build-server-full $SERVER_NAME nopass
|
./easyrsa build-server-full $SERVER_NAME nopass
|
||||||
case $pass in
|
case $pass in
|
||||||
1)
|
1)
|
||||||
echo "⚠️ You will be asked for the client password below"
|
|
||||||
./easyrsa build-client-full $CLIENT nopass
|
./easyrsa build-client-full $CLIENT nopass
|
||||||
;;
|
;;
|
||||||
2)
|
2)
|
||||||
|
echo "⚠️ You will be asked for the client password below"
|
||||||
./easyrsa build-client-full $CLIENT
|
./easyrsa build-client-full $CLIENT
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue