added ikev2/rw-eap-sim-radius scenario
[strongswan.git] / testing / tests / sql / ip-pool-db-restart / 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/tables.sql /etc/ipsec.d/data.sql > /etc/ipsec.d/ipsec.sql
5 carol::cat /etc/ipsec.d/tables.sql /etc/ipsec.d/data.sql > /etc/ipsec.d/ipsec.sql
6 dave::cat /etc/ipsec.d/tables.sql /etc/ipsec.d/data.sql > /etc/ipsec.d/ipsec.sql
7 moon::cat /etc/ipsec.d/ipsec.sql | sqlite3 /etc/ipsec.d/ipsec.db
8 carol::cat /etc/ipsec.d/ipsec.sql | sqlite3 /etc/ipsec.d/ipsec.db
9 dave::cat /etc/ipsec.d/ipsec.sql | sqlite3 /etc/ipsec.d/ipsec.db
10 moon::ipsec pool --leases 2> /dev/null
11 moon::/etc/init.d/iptables start 2> /dev/null
12 carol::/etc/init.d/iptables start 2> /dev/null
13 dave::/etc/init.d/iptables start 2> /dev/null
14 moon::ipsec start
15 carol::ipsec start
16 dave::ipsec start
17 carol::sleep 1
18 dave::ipsec up home
19 carol::ipsec up home