summaryrefslogtreecommitdiffstats
path: root/abs/core/klibc-udev/udev_install
diff options
context:
space:
mode:
authorJames Meyer <James.meyer@operamail.com>2008-10-02 03:19:12 (GMT)
committerJames Meyer <James.meyer@operamail.com>2008-10-02 03:19:12 (GMT)
commit0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a (patch)
treec0aa2c0b53c317be87eacfcb77b63f53f1f415e7 /abs/core/klibc-udev/udev_install
downloadlinhes_pkgbuild-0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a.zip
linhes_pkgbuild-0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a.tar.gz
linhes_pkgbuild-0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a.tar.bz2
initial import
Diffstat (limited to 'abs/core/klibc-udev/udev_install')
-rw-r--r--abs/core/klibc-udev/udev_install31
1 files changed, 31 insertions, 0 deletions
diff --git a/abs/core/klibc-udev/udev_install b/abs/core/klibc-udev/udev_install
new file mode 100644
index 0000000..62d5b00
--- /dev/null
+++ b/abs/core/klibc-udev/udev_install
@@ -0,0 +1,31 @@
+# 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/ata_id /lib/udev/ata_id
+ add_file /lib/initcpio/udev/usb_id /lib/udev/usb_id
+ add_file /lib/initcpio/udev/edd_id /lib/udev/edd_id
+ #add_file /lib/initcpio/udev/scsi_id /lib/udev/scsi_id
+ add_file /lib/initcpio/udev/vol_id /lib/udev/vol_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
+}