On Tue, 2008-06-03 at 11:21 -0400, Jarod Wilson wrote:
> On Tuesday 03 June 2008 11:11:48 am Brian Long wrote:
> > On Tue, 2008-06-03 at 11:27 +0100, Gerrard Geldenhuis wrote:
> > > Hi
> > >
> > > I thought it would be simple but the solution is alluding me at
> > > present.
> > >
> > > I want to load the mptctl module at boot time without having to add
> > > modprobe mptctl to rc.local. Is there a better way of using rc.local.
> >
> > Yes, if your /etc/modprobe.conf has an alias scsi_hostadapter mptscsih,
> > for example, you can tell it to load mptctl at the same time by adding
> > an install line as follows:
> >
> > install mptscsih /sbin/modprobe mptctl; /sbin/modprobe --ignore-install
> > mptscsih
> >
> > This makes mptctl load at the same time as mptscsih.
> 
> iirc, that makes mptctl load *before* mptscsih though, which may have 
> undesired side effects (like mptctl not working). What you may actually want 
> is:
> 
> install mptscsih /sbin/modprobe --ignore-install mptscsih; /sbin/modprobe 
> mptctl

You are correct (of course).  :)

/Brian/
-- 
       Brian Long                             |       |
                                          . | | | . | | | .
                                              '       '
                                              C I S C O

_______________________________________________
rhelv5-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/rhelv5-list

Reply via email to