bedefaced / vpn-install

Simple PPTP, L2TP/IPsec, OpenVPN installers
GNU General Public License v3.0
245 stars 101 forks source link

./checkuser.sh no return at all #12

Open baguswahyu opened 4 years ago

baguswahyu commented 4 years ago

when i use this script. not return at all. how it work and what the function anyway?

root@localhost:~/bedefaced_vpn-install/vpn-install/ipsec# ./adduser.sh 
Enter name: bagus
Enter password: bagus

/etc/ppp/chap-secrets has been updated!

Directory /root/bedefaced_vpn-install/vpn-install/ipsec/bagus with client-side installation script has been created.

Would you want to add another user? [no]
root@localhost:~/bedefaced_vpn-install/vpn-install/ipsec# ./checkuser.sh
Enter name: bagus
root@localhost:~/bedefaced_vpn-install/vpn-install/ipsec#
bedefaced commented 4 years ago

Result of checking is saved in $? (exit code)