1
0
mirror of https://github.com/home-assistant/operating-system.git synced 2026-04-29 05:04:27 +01:00
Files
operating-system/buildroot-external/rootfs-overlay/usr/lib/systemd/system/etc-sysctl.d.mount
Jan Čermák 1b511990e3 Allow overriding sysctl parameters via /etc/sysctl.d files (#3883)
Relocate current content of /etc/sysctl.d to /usr/lib and make the /etc folder
writable via a bind mount.
2025-02-19 15:33:16 +01:00

15 lines
249 B
SYSTEMD

[Unit]
Description=Kernel persistent sysctl.d
Requires=mnt-overlay.mount
After=mnt-overlay.mount
Before=systemd-sysctl.service
[Mount]
What=/mnt/overlay/etc/sysctl.d
Where=/etc/sysctl.d
Type=None
Options=bind
[Install]
WantedBy=hassos-bind.target