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

build() {
    add_binary /etc/smdev/proceeddev
    add_binary /usr/bin/mksh
    add_binary /usr/bin/smdev
    add_binary /usr/bin/nldev
    add_binary /usr/bin/nltrigger
    add_binary /usr/bin/find
    add_file /usr/lib/libm.so.6

    for file in /etc/smdev/add/*; do
        add_file $file
    done

    add_runscript
}

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