I am trying to write a script I am on Fedora 14 KDE spin. What I want to be able to do is start a bash script in a normal desktop environment have it do something things then have it drop to runlevel. But not needing to log back in, such as with commands like "init 3, telinit 3, kdminit4_shutdown" require you to log in when the script is running then once you do the script is no longer running any more. So I need it to switch to runlevel 3 then install a driver then once thats done switch back to runlevel 5 again not having to worry about logging in and having the script continue running still and finish up from there. Everything I have tried not only kills the script but also make you have to log in on every switch.
Thanks for any help on this if you need to see the script I can post that part