summaryrefslogtreecommitdiff
path: root/core/udev/initcpio-hooks-udev
diff options
context:
space:
mode:
Diffstat (limited to 'core/udev/initcpio-hooks-udev')
-rw-r--r--core/udev/initcpio-hooks-udev9
1 files changed, 9 insertions, 0 deletions
diff --git a/core/udev/initcpio-hooks-udev b/core/udev/initcpio-hooks-udev
new file mode 100644
index 000000000..87aa7960f
--- /dev/null
+++ b/core/udev/initcpio-hooks-udev
@@ -0,0 +1,9 @@
+# vim: set ft=sh:
+run_hook ()
+{
+ msg -n ":: Triggering uevents..."
+ udevadm trigger --action=add --type=subsystems
+ udevadm trigger --action=add --type=devices
+ udevadm settle
+ msg "done."
+}