#!/bin/sh
#This script is to remove any mptspi references from /etc/modprobe.conf
#Since the storage team is not releasing the mptlinux driver for LSI SAS
#controllers, initrd creation will fail when mptspi is in modprobe.conf

grep -v "mptspi" /etc/modprobe.conf > /etc/modprobe.conf.new
mv -f /etc/modprobe.conf.new /etc/modprobe.conf

