mirror of
https://github.com/home-assistant/operating-system.git
synced 2026-04-29 05:04:27 +01:00
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
15 lines
273 B
SYSTEMD
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
|