summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Reisner <dreisner@archlinux.org>2012-02-08 14:42:51 +0100
committerDave Reisner <dreisner@archlinux.org>2012-02-08 14:42:51 +0100
commit9a2d5f4450d71803aa5013f8f1cdb5d962fb2617 (patch)
tree6ab5fb811eb5a1154312b586b24f8871b657b310
parent0c40ea638acce527e98a1345ef35bb6273f974e6 (diff)
downloadmkinitcpio-9a2d5f4450d71803aa5013f8f1cdb5d962fb2617.tar.gz
mkinitcpio-9a2d5f4450d71803aa5013f8f1cdb5d962fb2617.tar.xz
udev: remove hooks
These should belong to the udev package. Signed-off-by: Dave Reisner <dreisner@archlinux.org>
-rw-r--r--hooks/udev9
-rw-r--r--install/udev26
2 files changed, 0 insertions, 35 deletions
diff --git a/hooks/udev b/hooks/udev
deleted file mode 100644
index 87aa796..0000000
--- a/hooks/udev
+++ /dev/null
@@ -1,9 +0,0 @@
-# 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."
-}
diff --git a/install/udev b/install/udev
deleted file mode 100644
index a3e5ca3..0000000
--- a/install/udev
+++ /dev/null
@@ -1,26 +0,0 @@
-#!/bin/bash
-
-build() {
- FILES="/etc/udev/udev.conf"
- SCRIPT="udev"
-
- add_binary /lib/udev/udevd
- add_binary udevadm
-
- for rules in 50-udev-default.rules 60-persistent-storage.rules 80-drivers.rules; do
- add_file "/lib/udev/rules.d/$rules"
- done
- for tool in ata_id scsi_id; do
- add_file "/lib/udev/$tool"
- done
-}
-
-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 also required for firmware loading in
-initramfs. It is recommended to use this hook.
-HELPEOF
-}
-
-# vim: set ft=sh ts=4 sw=4 et: