summarylogtreecommitdiffstats
path: root/lvm2_hook
blob: 65de7bd2fdd76e3e670f930b5a548885b2122538 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/usr/bin/ash

run_earlyhook() {
    mkdir /run/lvm
    lvmetad
}

run_cleanuphook() {
    kill $(cat /run/lvmetad.pid)
}

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