mirror of
https://github.com/Telecominfraproject/wlan-ap.git
synced 2025-10-29 09:32:34 +00:00
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:
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user