From owner-freebsd-questions@FreeBSD.ORG Wed Dec 22 11:52:26 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 32C77106564A for ; Wed, 22 Dec 2010 11:52:26 +0000 (UTC) (envelope-from erikt@midgard.homeip.net) Received: from ch-smtp03.sth.basefarm.net (ch-smtp03.sth.basefarm.net [80.76.149.214]) by mx1.freebsd.org (Postfix) with ESMTP id B8FD78FC12 for ; Wed, 22 Dec 2010 11:52:25 +0000 (UTC) Received: from c83-255-61-120.bredband.comhem.se ([83.255.61.120]:36440 helo=falcon.midgard.homeip.net) by ch-smtp03.sth.basefarm.net with esmtp (Exim 4.72) (envelope-from ) id 1PVN1D-0006Mq-Cg for freebsd-questions@freebsd.org; Wed, 22 Dec 2010 12:38:10 +0100 Received: (qmail 63651 invoked from network); 22 Dec 2010 12:38:04 +0100 Received: from owl.midgard.homeip.net (10.1.5.7) by falcon.midgard.homeip.net with ESMTP; 22 Dec 2010 12:38:04 +0100 Received: (qmail 58355 invoked by uid 1001); 22 Dec 2010 12:38:04 +0100 Date: Wed, 22 Dec 2010 12:38:04 +0100 From: Erik Trulsson To: Dave Message-ID: <20101222113804.GA58299@owl.midgard.homeip.net> References: <4D11DA76.32672.214EF771@dave.g8kbv.demon.co.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4D11DA76.32672.214EF771@dave.g8kbv.demon.co.uk> User-Agent: Mutt/1.5.21 (2010-09-15) X-Originating-IP: 83.255.61.120 X-Scan-Result: No virus found in message 1PVN1D-0006Mq-Cg. X-Scan-Signature: ch-smtp03.sth.basefarm.net 1PVN1D-0006Mq-Cg 15661cc8b276aa4749d35f5b87d99cf8 Cc: freebsd-questions@freebsd.org Subject: Re: Well, I broke it! FreeBSD V8.1 release X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Dec 2010 11:52:26 -0000 On Wed, Dec 22, 2010 at 11:01:10AM -0000, Dave wrote: > Hi... > > I was trying to disable the console screensaver, and found that in > sysinstall, there is no way to select "none" as an option. > > So I went and edited /etc/rc.conf to comment out the line:- > Saver="fire" (or whatever it is) > > I put a ; at the beginning of the line, and now FreeBSD wont come up, > showing an error (unexpected ;) and leaving me with a # prompt. To comment out a line in a shell script (which is what rc.conf actually is) you should put a '#' at the beginning of the line, not a ';'. > > How do I get to re-edit rc.conf, to correct the problem, as all command > line commands result in a "not found" error. > > Also. What's the "Correct" way to disable a console screensaver? Changing rc.conf is the "Correct" way. If you do it by hand or use some other tool (like sysinstall) to do it does not really matter. Putting 'saver="NO"' in rc.conf or not having and 'saver=XXXX' line there will both do the same thing - not starting any screen saver. > > Sysinstall alows you to select and enable one, but not remove it! > > Bit of an oversight that I suspect.... Probably. The shortcomings of sysinstall are many and varied, so one more is not surprise. -- Erik Trulsson ertr1013@student.uu.se