Autostarting script before X11 starts 

> I want to make a script which can help me to load drivers and some programs
> before x11 starts.

then name it 'somefile.sh' and place it in /etc/rc.d/init.d/, it will load during startup

documented on: 2008-03-24, some-guy

Autostarting script before X11 starts 

write a script in

/etc/rc.d/rc.local

(append it) but it works only with slax on USB or HD installed ;)

documented on: 2008-03-24, nntn

Autostarting script before X11 starts 

Well you can actually autorun that script WHEN X11 starts up. Create a directory /root/.kde/Autostart and put your script in that directory :

mkdir -p /root/.kde/Autostart
cp myscript.sh /root/.kde/Autostart
chmod +x /root/.kde/Autostart/myscript.sh

documented on: 2008-03-24, markds