2 # Filename: ${GRML_FAI_CONFIG}/config/scripts/GRMLBASE/50-lvm
3 # Purpose: adjust LVM configuration
4 # Authors: grml-team (grml.org), (c) Michael Prokop <mika@grml.org>
5 # Bug-Reports: see http://grml.org/bugs/
6 # License: This file is licensed under the GPL v2 or any later version.
7 ################################################################################
12 if [ -f "${target}/lib/udev/rules.d/69-lvm.rules" ] ; then # lvm2 >=2.03.15
13 echo "Clearing /lib/udev/rules.d/69-lvm.rules to avoid automatic LVM scanning"
14 echo '# this file was generated by grml-live script GRMLBASE/50-lvm' > "${target}/lib/udev/rules.d/69-lvm.rules"
17 if [ -f "${target}/lib/udev/rules.d/69-lvm-metad.rules" ] ; then # lvm2 <= 2.03.11
18 echo "Clearing /lib/udev/rules.d/69-lvm-metad.rules to avoid automatic LVM scanning"
19 echo '# this file was generated by grml-live script GRMLBASE/50-lvm' > "${target}/lib/udev/rules.d/69-lvm-metad.rules"
22 ## END OF FILE #################################################################
23 # vim:ft=sh expandtab ai tw=80 tabstop=4 shiftwidth=2