File: parse-lvm.sh

package info (click to toggle)
dracut 005-1
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 1,368 kB
  • ctags: 207
  • sloc: sh: 6,487; ansic: 192; makefile: 108
file content (10 lines) | stat: -rw-r--r-- 209 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
if getarg rd_NO_LVM; then
    info "rd_NO_LVM: removing LVM activation"
    rm -f /etc/udev/rules.d/64-lvm*.rules
fi

if [ -e /etc/lvm/lvm.conf ] && getarg rd_NO_LVMCONF; then
    rm -f /etc/lvm/lvm.conf
fi