• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

linux "autoexec.bat" equivalent?

CTho9305

Elite Member
How do I change what gets run at boot? (Like starting vmware, gpm, sendmail, usb module, a whole lot of stuff) I want to remove some modules that I compiled into the kernel (it gives an error when it tries to find the modules)

thanks
 
Depends on the distro.....

A redhat sytle start up (SysV I think its called) will have /etc/rc.d/ and then all the different items at startup would be in /etc/rc.d/rc3.d if you start at runlevel three. there are also some things in /etc/rc.d/rc.local
 
for redhat systems ntsysv is a console gui to do it. it calls chkconfig as I recall. on debian systems update-rc.d
 
etc/rc.d/rc.local is probably the closest thing to autoexec.bat for running programs.

But for loading modules etc/rc.d/rc3.d would be the likely place.

I guess that's what Soybomb said....
 
IIRC, runlevel 6 causes the system to reboot (try typing "init 6"; it will work the same as "reboot" or as pressing CTRL+ALT+DEL). If, when your system boots, it comes to a graphical login, you want to edit level 5. Otherwise, edit level 3. To make the job easier, try using "linuxconf" to "control service activity". It is really much easier.
HTH,
Josh
 


Or you could use the good ol' console based 'ntsysv'. Old RedHat util, I still like it. You can modify the runlevel you are currently in.
 
Back
Top