blob: bd15e6da0d8923aee59295d163e4190d51316c86 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
#!/bin/bash
build() {
add_file "/etc/smdev/processdev"
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
}
|