diff --git a/buildroot-external/rootfs-overlay/usr/lib/systemd/system/etc-usb_modeswitch.d.mount b/buildroot-external/rootfs-overlay/usr/lib/systemd/system/etc-usb_modeswitch.d.mount new file mode 100644 index 00000000000..0f1f45b4b68 --- /dev/null +++ b/buildroot-external/rootfs-overlay/usr/lib/systemd/system/etc-usb_modeswitch.d.mount @@ -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