scripts/GRMLBASE/50-lvm: unconditionally clear 69-lvm-metad.rules file
[grml-live.git] / etc / grml / fai / config / scripts / GRMLBASE / 50-lvm
index 4cecce4..9ec8199 100755 (executable)
@@ -9,11 +9,6 @@
 set -u
 set -e
 
-if ! [ -r "${target}/lib/udev/rules.d/69-lvm-metad.rules" ] ; then
-  echo "File /lib/udev/rules.d/69-lvm-metad.rules doesn't exist, skipping execution of script."
-  exit 0
-fi
-
 echo "Clearing /lib/udev/rules.d/69-lvm-metad.rules to avoid automatic LVM scanning"
 echo '# this file was generated by grml-live script GRMLBASE/50-lvm' > "${target}/lib/udev/rules.d/69-lvm-metad.rules"