mirror of
https://github.com/home-assistant/operating-system.git
synced 2025-07-28 07:26:28 +00:00
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
This commit is contained in:
parent
d9fb660152
commit
6ef7a68a1d
@ -0,0 +1,14 @@
|
||||
[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
|
Loading…
x
Reference in New Issue
Block a user