packages/net/strongswan/files
Stijn Tintel b93a53bd94 strongswan: check return value instead of output
When the strongswan service is running, `ipsec status` returns 0. Check
the return value instead of checking its output.

While at it, remove the [[ ]] bashism, use rereadall instead of
(reread)secrets, and move it inside the if statement.

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
2017-08-07 20:19:18 +02:00
..
ipsec.init strongswan: check return value instead of output 2017-08-07 20:19:18 +02:00
ipsec.secrets strongswan: import, update, adopt 2014-08-17 10:11:02 +02:00
ipsec.user strongswan: import, update, adopt 2014-08-17 10:11:02 +02:00