Files
Ventoy/IMG/cpio/ventoy/hook/default/systemd/ventoy-udev-trigger.service
T

16 lines
380 B
Desktop File
Raw Normal View History

[Unit]
Description=Ventoy DM device udev attributes
After=systemd-udevd.service
[Service]
Type=oneshot
ExecStart=-udevadm trigger --subsystem-match=block --sysname-match=yyy
ExecStart=-udevadm trigger --subsystem-match=block --sysname-match=DMXXX
ExecStart=-udevadm settle
ExecStartPost=-/bin/sh /etc/ventoy-udev-cleanup.sh
RemainAfterExit=no
[Install]
WantedBy=sysinit.target