Date: Wed, 22 Dec 2010 12:38:04 +0100 From: Erik Trulsson <ertr1013@student.uu.se> To: Dave <dave@g8kbv.demon.co.uk> Cc: freebsd-questions@freebsd.org Subject: Re: Well, I broke it! FreeBSD V8.1 release Message-ID: <20101222113804.GA58299@owl.midgard.homeip.net> In-Reply-To: <4D11DA76.32672.214EF771@dave.g8kbv.demon.co.uk> References: <4D11DA76.32672.214EF771@dave.g8kbv.demon.co.uk>
next in thread | previous in thread | raw e-mail | index | archive | help
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. -- <Insert your favourite quote here.> Erik Trulsson ertr1013@student.uu.se
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20101222113804.GA58299>