added sql/rw-cert scenario
[strongswan.git] / testing / tests / sql / rw-cert / pretest.dat
1 moon::rm /etc/ipsec.d/cacerts/*
2 carol::rm /etc/ipsec.d/cacerts/*
3 dave::rm /etc/ipsec.d/cacerts/*
4 moon::cat /etc/ipsec.d/ipsec.sql | sqlite3 /etc/ipsec.d/ipsec.db
5 carol::cat /etc/ipsec.d/ipsec.sql | sqlite3 /etc/ipsec.d/ipsec.db
6 dave::cat /etc/ipsec.d/ipsec.sql | sqlite3 /etc/ipsec.d/ipsec.db
7 moon::/etc/init.d/iptables start 2> /dev/null
8 carol::/etc/init.d/iptables start 2> /dev/null
9 dave::/etc/init.d/iptables start 2> /dev/null
10 moon::ipsec start
11 carol::ipsec start
12 dave::ipsec start
13 carol::sleep 1
14 carol::ipsec up home
15 dave::ipsec up home