LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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, 03: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, 03: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, 12:10 PM   #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, 05: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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 12:47 PM
deleting menu items n_hendrick Linux - Newbie 3 07-21-2004 10:57 PM
Kernal Panic: No init found. Try passing init= option to kernel raees Linux - General 12 03-19-2004 12:10 AM
error: No init found. Try passing the init= option to the Kernel neylitalo Linux - Laptop and Netbook 3 01-22-2004 10:34 PM
error "Kernel panic: No init found. Try passing init= option Anauj0101 Linux - Newbie 3 05-06-2003 11:18 PM


All times are GMT -5. The time now is 04:46 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration