aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2004-04-13 16:21:36 +0000
committerBill Nottingham <notting@redhat.com>2004-04-13 16:21:36 +0000
commit590442be66dce7b68501ea295352b2881498fe4d (patch)
tree3953dd7318eaf4d5c57590d29583f529db8e11fc
parent1398f506657cbd2fdf7b232a04c90348823d6fef (diff)
downloadinitscripts-590442be66dce7b68501ea295352b2881498fe4d.tar
initscripts-590442be66dce7b68501ea295352b2881498fe4d.tar.gz
initscripts-590442be66dce7b68501ea295352b2881498fe4d.tar.bz2
initscripts-590442be66dce7b68501ea295352b2881498fe4d.tar.xz
initscripts-590442be66dce7b68501ea295352b2881498fe4d.zip
racoon's parser got fixed, oops.
-rwxr-xr-xsysconfig/network-scripts/ifup-ipsec5
1 files changed, 2 insertions, 3 deletions
diff --git a/sysconfig/network-scripts/ifup-ipsec b/sysconfig/network-scripts/ifup-ipsec
index 3dafd9f0..4751b5cc 100755
--- a/sysconfig/network-scripts/ifup-ipsec
+++ b/sysconfig/network-scripts/ifup-ipsec
@@ -216,7 +216,6 @@ EOF
fi
if [ ! -f /etc/racoon/$DST.conf -o /etc/racoon/$DST.conf -ot $1 ] ; then
cat > /etc/racoon/$DST.conf << EOF
-;
remote $DST
{
exchange_mode aggressive, main;
@@ -270,8 +269,8 @@ EOF
esac
fi
racoontmp=`mktemp /etc/racoon/racoon.XXXXXX`
- grep -v "^include \"/etc/racoon/$DST.conf\"" /etc/racoon/racoon.conf >> $racoontmp
- echo "include \"/etc/racoon/$DST.conf\"" >> $racoontmp
+ grep -v "^include \"/etc/racoon/$DST.conf\";" /etc/racoon/racoon.conf >> $racoontmp
+ echo "include \"/etc/racoon/$DST.conf\";" >> $racoontmp
mv -f $racoontmp /etc/racoon/racoon.conf
if pidof -x /usr/sbin/racoon > /dev/null 2>&1 ; then
killall -HUP /usr/sbin/racoon