void-packages/srcpkgs/mkinitcpio/files/lvm2_hook
2015-06-26 04:03:54 +02:00

12 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: