summaryrefslogtreecommitdiff
path: root/units/udev-trigger.service.in
diff options
context:
space:
mode:
Diffstat (limited to 'units/udev-trigger.service.in')
-rw-r--r--units/udev-trigger.service.in10
1 files changed, 10 insertions, 0 deletions
diff --git a/units/udev-trigger.service.in b/units/udev-trigger.service.in
new file mode 100644
index 0000000000..cd81945c88
--- /dev/null
+++ b/units/udev-trigger.service.in
@@ -0,0 +1,10 @@
+[Unit]
+Description=udev Coldplug all Devices
+Wants=udev.service
+After=udev-kernel.socket udev-control.socket
+DefaultDependencies=no
+
+[Service]
+Type=oneshot
+RemainAfterExit=yes
+ExecStart=@bindir@/udevadm trigger --type=subsystems --action=add ; @bindir@/udevadm trigger --type=devices --action=add