e53bb309f9fb5b0691ebe1a5ee5324a0964490a5
[strongswan.git] / testing / tests / sql / rw-psk-ipv6 / 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::iptables-restore < /etc/iptables.rules
11 carol::iptables-restore < /etc/iptables.rules
12 dave::iptables-restore < /etc/iptables.rules
13 alice::"ip route add fec0:\:/16 via fec1:\:1"
14 carol::"ip route add fec1:\:/16 via fec0:\:1"
15 dave::"ip route add fec1:\:/16 via fec0:\:1"
16 moon::ipsec start
17 carol::ipsec start
18 dave::ipsec start
19 carol::sleep 1
20 carol::ipsec up home
21 dave::ipsec up home