LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 01-22-2007, 10:14 AM   #1
tekmann33
Member
 
Registered: Nov 2006
Posts: 188

Rep: Reputation: 30
Removing Startup Scripts


I am running a Fedora Core 6 machine and I would like to stop mysql from running upon startup.

I can see the mysql executable in the /etc/init.d directory.

Is it as simple as removing it from this directory?

rm /etc/init.d/mysql
 
Old 01-22-2007, 10:34 AM   #2
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983
You can remove the link in the /etc/rc5.d/ directory, so if you want to restore mysql at startup you have to re-create the only the link. Better to use the System -> Administration -> Services utility and uncheck the little square before the mysql entry in the menu on the left.
 
  


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
Mandriva startup scripts (need to add something to startup before X starts) thunderweasel Mandriva 3 01-01-2006 12:55 AM
Startup scripts simcox1 Slackware 7 12-05-2005 05:04 PM
Startup scripts MadnessASAP Linux - Software 2 12-15-2004 07:09 PM
Startup scripts celticselph Slackware 5 04-08-2004 07:23 AM
Removing shaperd when missing some scripts bacon22 Linux - General 1 03-25-2004 03:25 AM

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

All times are GMT -5. The time now is 07:54 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
Open Source Consulting | Domain Registration