/testing/guestbin/swan-prep
east #
 ipsec start
Redirecting to: systemctl start ipsec.service
east #
 /testing/pluto/bin/wait-until-pluto-started
east #
 ipsec auto --add westnet-eastnet-vti
002 added connection description "westnet-eastnet-vti"
east #
 echo "initdone"
initdone
east #
 grep -v -P "\t0$" /proc/net/xfrm_stat
east #
 ipsec whack --shutdown
002 shutting down
east #
 # there should be no vti0 device left
east #
 ip tun
vti0: ip/ip remote 192.1.2.45 local 192.1.2.23 ttl inherit key 20
ip_vti0: ip/ip remote any local any ttl inherit nopmtudisc key 0
east #
east #
 ../bin/check-for-core.sh
east #
 if [ -f /sbin/ausearch ]; then ausearch -r -m avc -ts recent ; fi

