fixing bug that prevented adding two dns servers separated by a comma
This commit is contained in:
parent
c7b8dfb8ed
commit
a10810b85d
1 changed files with 1 additions and 1 deletions
|
@ -41,7 +41,7 @@ rm -f /var/run/starter.charon.pid
|
|||
|
||||
# Allow DNS changes https://github.com/amdavidson/vpn-server/issues/5
|
||||
if [ -n $DNS ]; then
|
||||
sed -i "s/dns = .*/dns = $DNS/" /etc/strongswan.conf
|
||||
sed -i "s/dns = .*/dns = ${DNS}/" /etc/strongswan.conf
|
||||
fi
|
||||
|
||||
service ndppd start
|
||||
|
|
Loading…
Reference in a new issue