By consistently using the `expect-connection` helper we can avoid pretty much all previously needed calls to sleep.
15 lines
415 B
Plaintext
15 lines
415 B
Plaintext
moon::iptables-restore < /etc/iptables.rules
|
|
carol::iptables-restore < /etc/iptables.rules
|
|
dave::iptables-restore < /etc/iptables.rules
|
|
dave::/etc/init.d/apache2 start 2> /dev/null
|
|
moon::cat /etc/tnc_config
|
|
carol::cat /etc/tnc_config
|
|
dave::cat /etc/tnc_config
|
|
moon::ipsec start
|
|
carol::ipsec start
|
|
dave::ipsec start
|
|
carol::expect-connection home
|
|
carol::ipsec up home
|
|
dave::expect-connection home
|
|
dave::ipsec up home
|