summaryrefslogtreecommitdiffstats
path: root/hooks
diff options
context:
space:
mode:
authorThomas Bächler <thomas@archlinux.org>2010-01-10 18:44:47 +0100
committerThomas Bächler <thomas@archlinux.org>2010-01-10 18:44:47 +0100
commita5b517dba551af7fd902464a5d866e2d5ce03508 (patch)
treeb247100ca238edb053017b27175b6076bfc1dc4a /hooks
parent3fceb27acec3c2039639c6f9d205da24b3b68619 (diff)
downloadmkinitcpio-a5b517dba551af7fd902464a5d866e2d5ce03508.tar.gz
mkinitcpio-a5b517dba551af7fd902464a5d866e2d5ce03508.tar.xz
Add udev hook, originated from the obsolete klibc-udev package
Diffstat (limited to 'hooks')
-rw-r--r--hooks/udev8
1 files changed, 8 insertions, 0 deletions
diff --git a/hooks/udev b/hooks/udev
new file mode 100644
index 0000000..57a90f7
--- /dev/null
+++ b/hooks/udev
@@ -0,0 +1,8 @@
+# vim: set ft=sh:
+run_hook ()
+{
+ msg -n ":: Triggering uevents..."
+ /sbin/udevadm trigger
+ /sbin/udevadm settle
+ msg "done."
+}