lvm: install lvm.conf in hostonly mode

master
Harald Hoyer 2009-07-17 15:02:19 +02:00
parent 0de01de409
commit 6c1d16ad29
1 changed files with 4 additions and 0 deletions

View File

@ -6,5 +6,9 @@ else
inst_rules "$moddir/64-lvm.rules" 64-device-mapper.rules
fi

if [[ $hostonly ]]; then
[ -f /etc/lvm/lvm.conf ] && inst /etc/lvm/lvm.conf
fi

inst "$moddir/lvm_scan.sh" /sbin/lvm_scan
inst_hook cmdline 30 "$moddir/parse-lvm.sh"