From owner-freebsd-questions@FreeBSD.ORG Wed Feb 16 18:56:29 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5116316A4CE for ; Wed, 16 Feb 2005 18:56:29 +0000 (GMT) Received: from klmhosting.net (ip-64-124-231-116.sea1.gadoz.com [64.124.231.116]) by mx1.FreeBSD.org (Postfix) with ESMTP id B038D43D2D for ; Wed, 16 Feb 2005 18:56:28 +0000 (GMT) (envelope-from kyle@xraided.net) Received: from [172.16.45.200] (account kyle [172.16.45.200] verified) by klmhosting.net (CommuniGate Pro SMTP 4.2.8) with ESMTP id 103111; Wed, 16 Feb 2005 10:54:26 -0800 Message-ID: <4213970C.8070700@xraided.net> Date: Wed, 16 Feb 2005 10:55:08 -0800 From: Kyle Mott User-Agent: Mozilla Thunderbird 0.9 (Windows/20041103) X-Accept-Language: en-us, en MIME-Version: 1.0 To: aklist_061666 References: <03fb01c51457$3f246ff0$0b01a8c0@enigmedia.net> In-Reply-To: <03fb01c51457$3f246ff0$0b01a8c0@enigmedia.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-questions@freebsd.org Subject: Re: can't reboot after messing up my rc.conf file X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Feb 2005 18:56:29 -0000 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"