Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Feb 2005 10:55:08 -0800
From:      Kyle Mott <kyle@xraided.net>
To:        aklist_061666 <aklist_061666@enigmedia.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: can't reboot after messing up my rc.conf file
Message-ID:  <4213970C.8070700@xraided.net>
In-Reply-To: <03fb01c51457$3f246ff0$0b01a8c0@enigmedia.net>
References:  <03fb01c51457$3f246ff0$0b01a8c0@enigmedia.net>

next in thread | previous in thread | raw e-mail | index | archive | help
mount -a
vi /etc/rc.conf

Running fsck is your prerogative.



-Kyle Mott



aklist_061666 wrote:

> Hi All:
>
> I was editing my rc.conf file and left off a quote mark, and now when 
> I try to reboot I get an error and am prompted to drop into shell to 
> fix it.
>
> The default prompt is /bin/sh, and if I hit return I get a prompt.
>
> How can I edit the file while I'm in that prompt? VI doesn't work...is 
> there another text editor I can use to fix the file?
>
> TIA
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to 
> "freebsd-questions-unsubscribe@freebsd.org"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4213970C.8070700>