summaryrefslogtreecommitdiff
path: root/testing/udev/initcpio-hooks-udev
blob: 87aa7960fa724310cec2c5c0124c76f5d1f6dd98 (plain)
1
2
3
4
5
6
7
8
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."
}