added sql/net2net-cert scenario
[strongswan.git] / testing / tests / sql / net2net-cert / pretest.dat
1 moon::cp /etc/ipsec.d/strongswan.conf /usr/local/libexec/ipsec
2 moon::rm /etc/ipsec.d/cacerts/*
3 moon::cat /etc/ipsec.d/ipsec.sql | sqlite3 /etc/ipsec.d/ipsec.db
4 sun::cp /etc/ipsec.d/strongswan.conf /usr/local/libexec/ipsec
5 sun::rm /etc/ipsec.d/cacerts/*
6 sun::cat /etc/ipsec.d/ipsec.sql | sqlite3 /etc/ipsec.d/ipsec.db
7 moon::/etc/init.d/iptables start 2> /dev/null
8 sun::/etc/init.d/iptables start 2> /dev/null
9 moon::ipsec start
10 sun::ipsec start
11 moon::sleep 1 
12 moon::ipsec up net-net