|
root / base / usr / src / zyginit / services / ipsec / stop.sh
stop.sh Bash 7 lines 198 B
1
2
3
4
5
6
#!/bin/sh
# Tear down IPsec policy and static SAs. Algorithm table cannot be
# unloaded without a reboot, so it stays.
/usr/sbin/ipsecconf -F 2>/dev/null
/usr/sbin/ipseckey flush 2>/dev/null
exit 0