ipsec-interfaces: Run when IPsec is disabled

This needs to run even when IPsec is disable to remove
and interfaces

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
Michael Tremer
2018-12-10 16:08:58 +00:00
parent 05af70c2f3
commit 4cf038dcfe

View File

@@ -37,9 +37,6 @@ log() {
}
main() {
# We are done when IPsec is not enabled
[ "${ENABLED}" = "on" ] || exit 0
# Register local variables
local "${VARS[@]}"
local action