Welcome to Linux Forums! With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.
Find the answer to your Linux question:
New to Linux Forums? Register here for free!
    Linux Forums > Your Distro > Knoppix Help Forum > I messed up on my rc.local

Forgot Password?
 Knoppix Help Forum   For all discussions about Knoppix, the Linux "Live CD" that lets you run Linux without needing to install on your hard drive.

Site Navigation
Linux Articles
Linux Forums
Linux Downloads
Linux Hosting
Free Magazines
Job Board
IRC Chat
RSS Feeds


Linux Forum Topics
Linux Forums
Your Distro
Linux Resources
GNU Linux Zone
The Community
Reply
 
Thread Tools Display Modes
Old 03-15-2005   #1 (permalink)
Just Joined!
 
Join Date: Feb 2005
Posts: 17
I messed up on my rc.local

Hello

TO cut a long story short, I wanted/needed to create a rc.local for my Knoppix system.

So I found this: http://www.plope.com/Members/chrism/...rc_local_equiv

And followed the info. Now I want to reverse this!!

Is it as simple as going to /etc/init.d/ and deleting 'local'?

Or do I have to do that then run some kind of update command?

Basically I created it, rebooted and the text that normally comes up before launching init level 5 was different so now I am panicing...

Thanks

Hong
hongman is offline  


Reply With Quote
Old 03-15-2005   #2 (permalink)
Linux Guru
 
dylunio's Avatar
 
Join Date: Aug 2004
Location: Cymru
Posts: 4,157
Yes, I'd have thought deleting local would do it

dylunio
__________________
Registered Linux User #371543!
Get force-get May The Source Be With You
/dev/null
/dev/null2
dylunio is offline   Reply With Quote
Old 03-15-2005   #3 (permalink)
Just Joined!
 
Join Date: Feb 2005
Posts: 17
I dont have to run any kind of update command?

I am well paranoid that if I reboot now it wont know where to look for the startup stuff and fail to boot at all...
hongman is offline   Reply With Quote
Old 03-15-2005   #4 (permalink)
Linux Guru
 
dylunio's Avatar
 
Join Date: Aug 2004
Location: Cymru
Posts: 4,157
Nope no updtae command.

If it was there already, I'd only delete the contents you added, but if you created it youy can delete it.

dylunio
__________________
Registered Linux User #371543!
Get force-get May The Source Be With You
/dev/null
/dev/null2
dylunio is offline   Reply With Quote
Old 03-15-2005   #5 (permalink)
Linux Guru
 
Flatline's Avatar
 
Join Date: Feb 2005
Posts: 2,204
Since all you did was place a script named local in the directory, removing it should fix the problem, like Dylunio said (make a copy of it anyway, just to be super-anal). You shouldn't have to run any kind of update script.
__________________
There are two major products that come out of Berkeley: LSD and UNIX. We don't believe this to be a coincidence.

- Jeremy S. Anderson
Flatline is offline   Reply With Quote
Old 03-15-2005   #6 (permalink)
Just Joined!
 
Join Date: Feb 2005
Posts: 17
Thank you"!!
hongman is offline   Reply With Quote
Old 03-15-2005   #7 (permalink)
Just Joined!
 
Join Date: Feb 2005
Posts: 17
Thank you"!!
hongman is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Free Magazines
Run Your Own Web Server Using Linux & Apache - Free 191 Page Preview
Learn about everything you'll need to build and maintain your Linux servers, and to deploy Web applications to them.
subscribe
Open Source Security Myths Dispelled
Dispel the five major myths surrounding Open Source Security and gain the tools necessary to make a truly informed decision for your IT organization
subscribe
InformationWeek
InformationWeek is the only newsweekly you'll need to stay on top of the latest developments in information technology.
subscribe



All times are GMT. The time now is 12:58 PM.






© 2000 - 2009 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.3.0 RC2