void-packages/srcpkgs/mkinitcpio/files/lvm2_hook

13 lines
155 B
Text
Raw Normal View History

2015-06-24 21:54:11 +00:00
#!/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: