From fafe81306d142e8925017fdf3edf824ce19d5489 Mon Sep 17 00:00:00 2001 From: John Crispin Date: Mon, 19 May 2025 07:36:38 +0200 Subject: [PATCH] luci-mod-ucentral: remove digicert specific files Fixes: WIFI-14694 Signed-off-by: John Crispin --- feeds/tip/luci/luci-mod-ucentral/root/sbin/certupdate | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/feeds/tip/luci/luci-mod-ucentral/root/sbin/certupdate b/feeds/tip/luci/luci-mod-ucentral/root/sbin/certupdate index 91270aba8..8d760ab2d 100755 --- a/feeds/tip/luci/luci-mod-ucentral/root/sbin/certupdate +++ b/feeds/tip/luci/luci-mod-ucentral/root/sbin/certupdate @@ -18,13 +18,12 @@ tar x -C /tmp/certs -f /tmp/certs.tar # make sure the required files exist [ -f /tmp/certs/cas.pem -a -f /tmp/certs/key.pem -a -f /tmp/certs/cert.pem ] || exit 1 -[ -f /tmp/certs/gateway.json -o -f /tmp/certs/dev-id ] || exit 1 # copy the certificates to /etc cp /tmp/certs/*.pem /certificates # copy dev-id or gateway.json -for a in dev-id gateway.json; do +for a in gateway.json; do if [ -f /tmp/certs/$a ]; then cp /tmp/certs/$a /certificates else