Well, I broke it! FreeBSD V8.1 release
Erik Trulsson
ertr1013 at student.uu.se
Wed Dec 22 11:52:26 UTC 2010
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 at student.uu.se
More information about the freebsd-questions
mailing list