Set permissions of /etc/systemd/resolved.conf

This commit is contained in:
Matheson Steplock 2023-10-06 05:36:35 +00:00 committed by GitHub
parent fb87ad06da
commit f000d4f733
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 1 deletions

View file

@ -24,6 +24,10 @@ URL_APPARMOR_PROFILE="https://version.home-assistant.io/apparmor.txt"
info "Restarting NetworkManager" info "Restarting NetworkManager"
systemctl restart "${SERVICE_NM}" systemctl restart "${SERVICE_NM}"
# Set permissions of /etc/systemd/resolved.conf
info "Setting permissions of /etc/systemd/resolved.conf"
chmod 644 /etc/systemd/resolved.conf
# Enable and restart systemd-resolved # Enable and restart systemd-resolved
info "Enable systemd-resolved" info "Enable systemd-resolved"
systemctl enable systemd-resolved.service> /dev/null 2>&1; systemctl enable systemd-resolved.service> /dev/null 2>&1;

View file

@ -1 +0,0 @@
etc/systemd/resolved.conf 644