By consistently using the `expect-connection` helper we can avoid pretty much all previously needed calls to sleep.
9 lines
278 B
Plaintext
9 lines
278 B
Plaintext
moon::rm /etc/ipsec.d/cacerts/strongswanCert.pem
|
|
carol::rm /etc/ipsec.d/cacerts/strongswanCert.pem
|
|
moon::iptables-restore < /etc/iptables.rules
|
|
carol::iptables-restore < /etc/iptables.rules
|
|
moon::ipsec start
|
|
carol::ipsec start
|
|
carol::expect-connection home
|
|
carol::ipsec up home
|