summaryrefslogtreecommitdiffstats
path: root/abs/core/klibc-udev/udev_hook
blob: 4d8212af3d0519c8a18aabea7c099c0dbe84d9dd (plain)
1
2
3
4
5
6
7
8
9
10
# vim: set ft=sh:
run_hook ()
{
    msg -n ":: Loading udev..."
    echo > /proc/sys/kernel/hotplug
    /sbin/udevd --daemon
    /sbin/udevadm trigger
    /sbin/udevadm settle
    msg "done."
}