aboutsummaryrefslogtreecommitdiffstats
path: root/check-certificates
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2019-04-10 14:25:56 +0200
committerGravatar Christian Hesse <mail@eworm.de>2019-04-10 14:29:24 +0200
commit5beebbe8e89615836760c679aa01c79caa7db798 (patch)
treed14a4a05c3a8788c32ee9e318b0ef258b3f3d9df /check-certificates
parentc0b73d6e92799dd7d4638863daac1deab5836747 (diff)
check-certificates: use full path...
... to make sure syntax does not break if package is not installed.
Diffstat (limited to 'check-certificates')
-rw-r--r--check-certificates6
1 files changed, 3 insertions, 3 deletions
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?");
}