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-usb_modeswitch.d.mount
Jan Čermák 6ef7a68a1d Make usb_modeswitch include directory writable (#3800)
The /etc/usb_modeswitch.d is present and empty but it can't be written to allow
user modification. Bind-mount it like other /etc folders to make it possible to
adjust usb_modeswitch config.

Fixes #3785
2025-01-16 18:11:35 +01:00

15 lines
273 B
SYSTEMD

[Unit]
Description=USB modeswitch persistent directory
Requires=mnt-overlay.mount
After=mnt-overlay.mount
Before=hassos-config.service
[Mount]
What=/mnt/overlay/etc/usb_modeswitch.d
Where=/etc/usb_modeswitch.d
Type=None
Options=bind
[Install]
WantedBy=hassos-bind.target