#!/bin/sh set -e echo "Disabling scanning of LVM devices at boot time" # scanning for lvm devives takes time on boot find /etc/rcS.d -name "S*lvm2" | xargs rm -f