summaryrefslogtreecommitdiffstats
path: root/hooks/udev
diff options
context:
space:
mode:
Diffstat (limited to 'hooks/udev')
-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."
+}