[CentOS] compile driver before X starts

Fri Mar 6 04:03:27 UTC 2009
Jerry Geis <geisj at pagestation.com>

>
> 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.

Thanks,

Jerry