can't reboot after messing up my rc.conf file

Kyle Mott kyle at xraided.net
Wed Feb 16 18:56:29 GMT 2005


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 at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to 
> "freebsd-questions-unsubscribe at freebsd.org"



More information about the freebsd-questions mailing list