mirror of
https://github.com/pivpn/pivpn.git
synced 2025-05-08 17:04:10 +02:00
Fixes #23, enhance 'pivpn add', minor bug fixes & other enhancements
This commit is contained in:
parent
6f9d151530
commit
dea112f50f
3 changed files with 33 additions and 2 deletions
|
@ -63,6 +63,8 @@ else
|
|||
PLAT="raspbian"
|
||||
fi
|
||||
|
||||
echo "${PLAT}" > /tmp/DET_PLATFORM
|
||||
|
||||
####### FUNCTIONS ##########
|
||||
spinner()
|
||||
{
|
||||
|
@ -733,6 +735,7 @@ confNetwork() {
|
|||
confOVPN() {
|
||||
IPv4pub=$(dig +short myip.opendns.com @resolver1.opendns.com)
|
||||
$SUDO cp /tmp/pivpnUSR /etc/pivpn/INSTALL_USER
|
||||
$SUDO cp /tmp/DET_PLATFORM /etc/pivpn/DET_PLATFORM
|
||||
|
||||
# Set status that no certs have been revoked
|
||||
echo 0 > /tmp/REVOKE_STATUS
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue