certificates: fix the file owner and permission of the certificates

This was breaking hostapd local-certificates support.

Signed-off-by: John Crispin <john@phrozen.org>
This commit is contained in:
John Crispin
2021-10-22 07:58:20 +02:00
parent 45143cc2c9
commit b364ab3064

View File

@@ -17,5 +17,8 @@ boot() {
[ -f /certificates/dev-id ] && {
cp /certificates/*.pem /etc/ucentral/
cp /certificates/dev-id /etc/ucentral/
chown root.network /etc/ucentral/*.pem
chmod 0440 root.network /etc/ucentral/*.pem
chmod 0400 /etc/ucentral/dev-id
}
}