By consistently using the `expect-connection` helper we can avoid pretty much all previously needed calls to sleep.
18 lines
655 B
Plaintext
18 lines
655 B
Plaintext
moon::iptables-restore < /etc/iptables.rules
|
|
carol::iptables-restore < /etc/iptables.rules
|
|
dave::iptables-restore < /etc/iptables.rules
|
|
moon::cat /etc/tnc_config
|
|
carol::cat /etc/tnc_config
|
|
dave::cat /etc/tnc_config
|
|
carol::cat /etc/tnc/dummyimc.file
|
|
dave::cat /etc/tnc/dummyimc.file
|
|
moon::cat /etc/tnc/dummyimv.policy
|
|
moon::LOG4CXX_CONFIGURATION=/etc/tnc/log4cxx.properties ipsec start
|
|
carol::LOG4CXX_CONFIGURATION=/etc/tnc/log4cxx.properties ipsec start
|
|
dave::LOG4CXX_CONFIGURATION=/etc/tnc/log4cxx.properties ipsec start
|
|
moon::expect-connection rw-allow
|
|
carol::expect-connection home
|
|
carol::ipsec up home
|
|
dave::expect-connection home
|
|
dave::ipsec up home
|