[CentOS] compile driver before X starts

Fri Mar 6 04:09:48 UTC 2009
Craig White <craigwhite at azapple.com>

On Thu, 2009-03-05 at 23:03 -0500, Jerry Geis wrote:
> >
> > vi /etc/init.d
> >
> > cahnge the number 5 to 3
> >
> > reboot
> >
> > fix driver
> >
> > change the 3 to 5
> >
> > reboot
> >
> > enjoy
> >   
> Ed,
> 
> I was hoping to find an "automated" solution.
> 
> Some way to execute the compile before X is started.
> I am already detecting a kernel change and recompiles selected needed 
> modules and reboots but this happens
> by /etc/rc.d/rc.local. This is too late. X is already trying to start 
> and /etc/rc.d/rc.local never gets executed as the machine locks.
> 
> This is for more than just one machine.
----
dkms package

Craig