1
0
mirror of synced 2024-11-26 06:46:06 +03:00

Add modecfgdns note

This commit is contained in:
hwdsl2 2018-02-11 01:05:13 -06:00
parent 43dbac6c3c
commit 4c47137e7f
2 changed files with 20 additions and 0 deletions

View File

@ -179,6 +179,16 @@ echo
echo "Libreswan $SWAN_VER was installed successfully! " echo "Libreswan $SWAN_VER was installed successfully! "
echo echo
cat <<'EOF'
Note: Users upgrading to Libreswan 3.23 or newer should edit
"/etc/ipsec.conf" and replace these two lines:
modecfgdns1=DNS_SERVER_1
modecfgdns2=DNS_SERVER_2
with a single line like this:
modecfgdns="DNS_SERVER_1, DNS_SERVER_2"
Then run "service ipsec restart".
EOF
} }
## Defer setup until we have the complete script ## Defer setup until we have the complete script

View File

@ -180,6 +180,16 @@ echo
echo "Libreswan $SWAN_VER was installed successfully! " echo "Libreswan $SWAN_VER was installed successfully! "
echo echo
cat <<'EOF'
Note: Users upgrading to Libreswan 3.23 or newer should edit
"/etc/ipsec.conf" and replace these two lines:
modecfgdns1=DNS_SERVER_1
modecfgdns2=DNS_SERVER_2
with a single line like this:
modecfgdns="DNS_SERVER_1, DNS_SERVER_2"
Then run "service ipsec restart".
EOF
} }
## Defer setup until we have the complete script ## Defer setup until we have the complete script