summaryrefslogtreecommitdiffstats
path: root/install
diff options
context:
space:
mode:
authorThomas Bächler <thomas@archlinux.org>2010-06-23 01:02:18 +0200
committerThomas Bächler <thomas@archlinux.org>2010-06-23 01:02:18 +0200
commite64bde8c514765e5f76cdff504d9a73f6945479f (patch)
treeba888270a4605eea28c53bf4bc1ce6c51f26535c /install
parent1ef7f115459c49cb1d0669544d5af39930e315ea (diff)
downloadmkinitcpio-e64bde8c514765e5f76cdff504d9a73f6945479f.tar.gz
mkinitcpio-e64bde8c514765e5f76cdff504d9a73f6945479f.tar.xz
memdisk: Add udev rule
This rule creates /dev/memdisk if a memdisk has been found.
Diffstat (limited to 'install')
-rw-r--r--install/memdisk1
1 files changed, 1 insertions, 0 deletions
diff --git a/install/memdisk b/install/memdisk
index 9c0ce16..7afb068 100644
--- a/install/memdisk
+++ b/install/memdisk
@@ -6,6 +6,7 @@ install ()
BINARIES="/usr/bin/memdiskfind"
FILES=""
SCRIPT="memdisk"
+ add_file /lib/initcpio/01-memdisk.rules /lib/udev/rules.d/01-memdisk.rules
}
help ()