mirror of
https://github.com/Telecominfraproject/wlan-ap.git
synced 2025-10-28 17:12:22 +00:00
luci-mod-ucentral: remove digicert specific files
Fixes: WIFI-14694 Signed-off-by: John Crispin <john@phrozen.org>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user