LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > *BSD
User Name
Password
*BSD This forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.

Notices


Reply
  Search this Thread
Old 06-17-2007, 05:41 PM   #1
Fredstar
Member
 
Registered: Jul 2004
Location: Rochester, NY
Distribution: Fedora9::FreeBSD7.1
Posts: 296

Rep: Reputation: 30
Deleted rc.local by mistake


Please help.. As stated above i deleted my rc.local.. all services are now starting twice because of it at boot. Is there anywhere i could get a backup of this file or could someone running freebsd 6.0 i386 post me a copy so i can download it.

thank you
 
Old 06-17-2007, 08:48 PM   #2
fukawi2
Member
 
Registered: Oct 2006
Location: Melbourne, Australia
Distribution: ArchLinux, ArchServer, Fedora, CentOS
Posts: 449

Rep: Reputation: 34
I've only just started playing with FreeBSD, but just looking at my fresh install of 6.2-RELEASE, there is no rc.local file.

Would your rc.local file be one you made yourself? And either way, I don't understand how a missing rc.local file could start all services twice...
 
Old 06-17-2007, 09:05 PM   #3
frob23
Senior Member
 
Registered: Jan 2004
Location: Roughly 29.467N / 81.206W
Distribution: OpenBSD, Debian, FreeBSD
Posts: 1,450

Rep: Reputation: 48
There is no rc.local in the base install nor is one required for the boot process. If the file exists it will be run by /etc/rc.d/local but if it doesn't, nothing happens.

There is no reason this would cause all the services to be starting twice. Something else has happened... what else changed?
 
Old 06-18-2007, 08:34 AM   #4
gani
Member
 
Registered: Jun 2004
Location: Metro Manila, Philippines
Distribution: Linuxmint, Slackware
Posts: 356

Rep: Reputation: 34
rc.local is used only to run on startup local systems.

Your are the one to list scripts to run your local programs in /etc/rc.d/rc.local by editing it or creating a new one.

You have nothing to be alarmed actually.
 
Old 06-18-2007, 09:44 AM   #5
Fredstar
Member
 
Registered: Jul 2004
Location: Rochester, NY
Distribution: Fedora9::FreeBSD7.1
Posts: 296

Original Poster
Rep: Reputation: 30
I'm sorry i thought the default rc file was rc.local. What im trying to say is that the default rc file that rc.conf overides was deleted.

Found the fix.

All i had to do was add local_startup="/usr/local/etc/rc.d" to my rc.conf and it corrected the issue.
thanks for the help!!

thanks

Last edited by Fredstar; 06-18-2007 at 10:04 AM.
 
  


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
Deleted Trash Icon By Mistake, What Now? zhuangshi SUSE / openSUSE 4 03-26-2005 09:58 AM
Deleted K Start button by mistake - How to Restore? camorri Linux - Software 2 02-23-2005 01:18 PM
help pls! deleted something by mistake marlor Slackware 2 02-05-2005 09:06 AM
emergency, deleted linux partition by mistake snakeo2 Linux - Newbie 11 03-26-2004 07:40 AM
DOH! Noob mistake.. Deleted Kerberos tfdml37 Linux - Software 1 03-19-2004 05:58 PM

LinuxQuestions.org > Forums > Other *NIX Forums > *BSD

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