PDA

View Full Version : Editing init script?



foamrotreturns
03-09-2005, 12:01 AM
I'm running a HDD install and I need to learn how to disable certain services that take a long time when the system is starting like cupsysd. Can someone point me in the right direction here?

mr_ed
03-09-2005, 11:45 AM
A collection of Knoppix boot-time parameters (cheatcodes) is here: http://download.linuxtag.org/knoppix/knoppix-cheatcodes.txt This isn't all of them, though. You may stumble across some that are undocumented in the other main place to poke around, the init script /etc/init.d/knoppix-autoconfig.

-- Ed

doesnotcompute
03-19-2005, 01:52 PM
I'm running a HDD install and I need to learn how to disable certain services that take a long time when the system is starting like cupsysd. Can someone point me in the right direction here?

to remove a service from the initiation sequence, try


su
update-rc.d -f service_name remove


where service_name is the name of the service to remove. (in your case, cupsys)
This should remove all references to the service in the various runlevels that load the service.

clarjon1
03-21-2005, 02:53 PM
Why not just use the sysv init config app found in the system menu?
(It's icon is streetlights)

foamrotreturns
03-24-2005, 03:48 AM
I also found with the help of the #kanotix channel another command called rcconf which allows many services to be enabled and disabled.