mirror of
https://github.com/outbackdingo/wlan-ap.git
synced 2026-01-28 10:20:50 +00:00
certificates: stage gateway.json
Signed-off-by: John Crispin <john@phrozen.org>
This commit is contained in:
@@ -8,7 +8,7 @@ copy_certificates() {
|
||||
cp /certificates/*.pem /etc/ucentral/
|
||||
chown root.network /etc/ucentral/*.pem
|
||||
chmod 0440 root.network /etc/ucentral/*.pem
|
||||
[ -f /certificates/gateway.json ] && cp /certificates/gateway.json /etc/ucentral/
|
||||
[ -f /certificates/gateway.json ] && cp /certificates/gateway.json /etc/ucentral/gateway.flash
|
||||
[ -f /certificates/dev-id ] && cp /certificates/dev-id /etc/ucentral/
|
||||
[ -f /etc/ucentral/dev-id ] && chmod 0400 /etc/ucentral/dev-id
|
||||
[ -f /certificates/restrictions.json ] && cp /certificates/restrictions.json /etc/ucentral/
|
||||
|
||||
Reference in New Issue
Block a user