summaryrefslogtreecommitdiffstats
path: root/install/memdisk
blob: d2a844d32a20e5516c3559362c29debfa5e4fdcc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# vim:set ft=sh:

install ()
{
    MODULES="phram mtdblock"
    BINARIES="/usr/bin/memdiskfind"
    FILES=""
    SCRIPT="memdisk"
    add_file /lib/initcpio/udev/01-memdisk.rules /lib/udev/rules.d/01-memdisk.rules
}

help ()
{
cat <<HELPEOF
  This hook detects a virtual disk created by the memdisk
  tool (http://syslinux.zytor.com/wiki/index.php/MEMDISK).

  It requires memdiskfind from syslinux 4.00 or newer.
HELPEOF
}