From 5beebbe8e89615836760c679aa01c79caa7db798 Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Wed, 10 Apr 2019 14:25:56 +0200 Subject: check-certificates: use full path... ... to make sure syntax does not break if package is not installed. --- check-certificates | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'check-certificates') diff --git a/check-certificates b/check-certificates index 308c401..9013151 100644 --- a/check-certificates +++ b/check-certificates @@ -46,14 +46,14 @@ / ip service set certificate=$CertNameNew [ find where certificate=$CertName ]; :do { - / ip ipsec identity set certificate=$CertNameNew [ find where certificate=$CertName ]; - / ip ipsec identity set remote-certificate=$CertNameNew [ find where remote-certificate=$CertName ]; + / ip ipsec identity set certificate=$CertNameNew [ / ip ipsec identity find where certificate=$CertName ]; + / ip ipsec identity set remote-certificate=$CertNameNew [ / ip ipsec identity find where remote-certificate=$CertName ]; } on-error={ :log debug ("Setting IPSEC certificates failed. Package 'security' not installed?"); } :do { - / ip hotspot profile set ssl-certificate=$CertNameNew [ find where ssl-certificate=$CertName ]; + / ip hotspot profile set ssl-certificate=$CertNameNew [ / ip hotspot profile find where ssl-certificate=$CertName ]; } on-error={ :log debug ("Setting hotspot certificates failed. Package 'hotspot' not installed?"); } -- cgit v1.2.3-54-g00ecf