summaryrefslogtreecommitdiffstats
path: root/install/memdisk
diff options
context:
space:
mode:
Diffstat (limited to 'install/memdisk')
-rw-r--r--install/memdisk9
1 files changed, 6 insertions, 3 deletions
diff --git a/install/memdisk b/install/memdisk
index b0d03f3..9b3577d 100644
--- a/install/memdisk
+++ b/install/memdisk
@@ -1,10 +1,13 @@
#!/bin/bash
build() {
- MODULES="phram mtdblock"
- BINARIES="/usr/bin/memdiskfind"
- SCRIPT="memdisk"
+ add_module 'phram'
+ add_module 'mtdblock'
+
add_file /usr/lib/initcpio/udev/01-memdisk.rules /lib/udev/rules.d/01-memdisk.rules
+ add_binary "memdiskfind"
+
+ add_runscript
}
help() {