summarylogtreecommitdiffstats
path: root/initcpio.install
blob: 45263960654df0317fad7e38f2a85894af446435 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/bin/bash

build() {
    add_file "/etc/smdev/proceeddev"
    add_binary /usr/bin/mksh
    add_binary /usr/bin/smdev

    add_file "/etc/smdev/add/00-modprobe"
    [ -f /etc/smdev/add/01-uuid ] && add_file "/etc/smdev/add/01-uuid"
    [ -f /etc/smdev/add/01-lvm ] && add_file "/etc/smdev/add/01-lvm"
    
    add_runscript
}

help() {
    cat <<HELPEOF
This hook will use smdev to process device uevents. It prepares your root device and adds some else device nodes.
HELPEOF
}

# vim: set ft=sh ts=4 sw=4 et: