void-packages/srcpkgs/mkinitcpio/files/lvm2_hook

13 lines
155 B
Bash

#!/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: