2 # Filename: ${GRML_FAI_CONFIG}/config/scripts/GRMLBASE/52-mdadm
3 # Purpose: adjust mdadm 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 ! [ -r "${target}/lib/udev/rules.d/64-md-raid-assembly.rules" ] ; then
13 echo "File /lib/udev/rules.d/64-md-raid-assembly.rules doesn't exist, skipping execution of script."
17 echo "Removing /lib/udev/rules.d/64-md-raid-assembly.rules to avoid automatic mdadm scanning"
18 echo '# this file was generated by grml-live script GRMLBASE/52-mdadm' > "${target}/lib/udev/rules.d/64-md-raid-assembly.rules"
20 ## END OF FILE #################################################################
21 # vim:ft=sh expandtab ai tw=80 tabstop=4 shiftwidth=2