summaryrefslogtreecommitdiff
path: root/init/udev-trigger.service.in
diff options
context:
space:
mode:
Diffstat (limited to 'init/udev-trigger.service.in')
-rw-r--r--init/udev-trigger.service.in11
1 files changed, 11 insertions, 0 deletions
diff --git a/init/udev-trigger.service.in b/init/udev-trigger.service.in
new file mode 100644
index 0000000000..0ede3171ea
--- /dev/null
+++ b/init/udev-trigger.service.in
@@ -0,0 +1,11 @@
+[Unit]
+Description=udev Coldplug all Devices
+Requires=udev.service
+After=udev.service
+Before=basic.target
+DefaultDependencies=no
+
+[Service]
+Type=oneshot
+RemainAfterExit=yes
+ExecStart=@sbindir@/udevadm trigger --type=subsystems --action=add ; @sbindir@/udevadm trigger --type=devices --action=add