# vim:set ft=sh:

install ()
{
    MODULES=""
    BINARIES=""
    FILES=" /etc/udev/udev.conf"
    SCRIPT="udev"
    add_file /lib/initcpio/udev/udevd /sbin/udevd
    add_file /lib/initcpio/udev/udevtrigger /sbin/udevtrigger
    add_file /lib/initcpio/udev/udevsettle /sbin/udevsettle
    add_file /lib/initcpio/udev/udev.rules /etc/udev/rules.d/udev.rules
    add_file /lib/initcpio/udev/start_udev /etc/start_udev
    add_file /lib/initcpio/udev/firmware.sh /lib/udev/firmware.sh
    add_file /lib/initcpio/udev/cdrom_id /lib/udev/cdrom_id
    add_file /lib/initcpio/udev/load-modules.sh /lib/udev/load-modules.sh
}

help ()
{
cat <<HELPEOF
  This hook will use udev to create your root device node
  and detect the needed modules for your root device.
  It is recommended to use this hook instead of modload.
HELPEOF
}
