LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-03-2004, 02:31 PM   #1
wrat
Member
 
Registered: May 2004
Posts: 245

Rep: Reputation: 30
deleting items in /etc/init.d???


can this be done?? example bind9 is in there but i dont need it or want it as well as other things im sure...and why is it there but synaptic does not list it as being installed??
completely clueless and new to linux
 
Old 05-03-2004, 02:46 PM   #2
mermxx
Member
 
Registered: Apr 2004
Location: Wales
Distribution: rh9, winxp
Posts: 411

Rep: Reputation: 30
u can open files in a terminal window with an editor eg
gedit /etc/xxxxxx/ &
and delete the contents.
But IMO I really wouldnt go deleting files until u r really sure that u don`t need them.
There is, no doubt, another way to delete things.....but whichever way u do it, as I say be sure that it`s not something that u might need at a later date
 
Old 05-05-2004, 11:10 AM   #3
peacebwitchu
Member
 
Registered: Apr 2004
Distribution: Debian
Posts: 185

Rep: Reputation: 30
The better way would be to check and see if those packages are installed if so get rid of the whole package and free up disk space as well.
 
Old 05-05-2004, 04:34 PM   #4
Genesee
Member
 
Registered: Dec 2002
Distribution: Slackware
Posts: 927

Rep: Reputation: 30
the scripts in init.d are called depending on the links present in /etc/rc#.d, where # is runlevel. you can edit the rc#.d manually, or use a gui app like ksysv (should be in your KDE menu). there is also a debian-specific app, called update-rc.d:

http://www.zevils.com/cgi-bin/man/ma...?update-rc.d+8

an alternative may be to rename the scripts or reset them to non-executable, making it easier to revert if something goes wrong.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Kernel Panic No init found. Try passing init..... Adrian Baker Mandriva 2 02-28-2005 11:47 AM
deleting menu items n_hendrick Linux - Newbie 3 07-21-2004 09:57 PM
Kernal Panic: No init found. Try passing init= option to kernel raees Linux - General 12 03-18-2004 11:10 PM
error: No init found. Try passing the init= option to the Kernel neylitalo Linux - Laptop and Netbook 3 01-22-2004 09:34 PM
error "Kernel panic: No init found. Try passing init= option Anauj0101 Linux - Newbie 3 05-06-2003 10:18 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:30 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration