LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions
User Name
Password
Linux - Distributions This forum is for Distribution specific questions.
Red Hat, Slackware, Debian, Novell, LFS, Mandriva, Ubuntu, Fedora - the list goes on and on... Note: An (*) indicates there is no official participation from that distribution here at LQ.

Notices


Reply
  Search this Thread
Old 10-16-2002, 02:24 AM   #1
minor
Member
 
Registered: May 2001
Location: HK
Distribution: Mandrake
Posts: 68

Rep: Reputation: 15
Unhappy RH7.3 startup files/scripts


Dears,

What are the startup files placed in RH7.3? I would like to stop the already started process after every reboot. And I already checked the /etc/rc.d/rc.local in nothing scripts. I don't like sshd and nfs started automatically! Thank!

Minor
 
Old 10-16-2002, 08:20 AM   #2
markus1982
Senior Member
 
Registered: Aug 2002
Location: Stuttgart (Germany)
Distribution: Debian/GNU Linux
Posts: 1,467

Rep: Reputation: 46
Re: RH7.3 startup files/scripts

Quote:
Originally posted by minor
What are the startup files placed in RH7.3? I would like to stop the already started process after every reboot. And I already checked the /etc/rc.d/rc.local in nothing scripts. I don't like sshd and nfs started automatically! Thank!
From /etc/rc.d/rc.local:
..
# This script will be executed *after* all the other init scripts.
# You can put your own initialization stuff in here if you don't
# want to do the full Sys V style init stuff.


So you normally just use this script to do some other initialization stuff that is not handled by the scripts in /etc/rc.d/init.d/ This is the directory you are looking for. You may disable the services using ntsysv (if you have installed that package) or chkconfig. Check the manpages for more information!
 
Old 10-16-2002, 08:40 AM   #3
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
The SYSV way, service initscripts kept in
/etc/rc.d/init.d/<servicename> are linked to
/etc/rc.d/rc<runlevel>.d/(K|S)<startnr><servicename>
where K is kill and S is start (in that runlevel), startnr is the number in the startup sequence this service will be started.
Try "chkconfig --level <runlevel> <servicename> off".
Also you can stop the service manually and do "mv /etc/rc.d/rc$(runlevel>.d/S<startnr><servicename> /etc/rc.d/rc<runlevel>.d/K<startnr><servicename>".
 
  


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
Config files, X issue, startup scripts... please help! shashir Slackware 4 08-05-2005 04:12 PM
startup files or scripts BajaNick Slackware 10 05-25-2004 01:12 AM
startup scripts mimi Linux - Newbie 6 04-26-2002 03:09 AM
Upgrade RH7.1 to RH7.2 with two .iso files t0dd Linux - Software 1 01-31-2002 05:47 PM
How do you decompress files, or run files such as the Netscape 6 Uninstaller in RH7.2 oudent Linux - Newbie 1 11-19-2001 12:11 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions

All times are GMT -5. The time now is 06:54 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