Removed -p flag to create home dir

As described in #165 ( fc14664) it is not desirable.
This commit is contained in:
EWouters 2017-03-15 17:24:42 +13:00
parent 75b7995a87
commit 27c34aa297

View file

@ -1016,7 +1016,7 @@ confOVPN() {
# verify server name to strengthen security
$SUDO sed -i "s/SRVRNAME/${SERVER_NAME}/" /etc/openvpn/easy-rsa/pki/Default.txt
$SUDO mkdir -p "/home/$pivpnUser/ovpns"
$SUDO mkdir "/home/$pivpnUser/ovpns"
$SUDO chmod 0777 -R "/home/$pivpnUser/ovpns"
}