Date: Sun, 12 Sep 2004 16:31:27 -0700 From: Rob <rob@pythonemproject.com> To: Giorgos Keramidas <keramida@linux.gr> Cc: freebsd-current@freebsd.org Subject: Re: warning messages from root mount until login, also my rc.conf file Message-ID: <4144DC4F.10209@pythonemproject.com> In-Reply-To: <20040912153710.GC54693@gothmog.gr> References: <4140C31C.8020801@pythonemproject.com> <20040912153710.GC54693@gothmog.gr>
next in thread | previous in thread | raw e-mail | index | archive | help
Giorgos Keramidas wrote: >On 2004-09-09 13:54, Rob <rob@pythonemproject.com> wrote: > > >>Sorry about attaching files but can't seem to put them inline with >>mozilla. Perhaps Sylpheed would work better. >> >> > >Copy/paste works in mozilla as expected, but you should probably stick >to attachments for material that the text formatting matters at all, >since Mozilla and practically all the GUI mailers that I've tried tend >to do strange and evil things to the formatting of text. > > > >>#!/bin/sh >># >>[snip a file that looks a lot like a copy of defaults/rc.conf in /etc]. >> >> > >Hmmm, this is wrong. Definitely wrong. The `rc.conf' file in /etc is >meant to be a much smaller file than `/etc/defaults/rc.conf' and it most >certainly does *NOT* need an initial #!/bin/sh line. > >The `/etc/rc.conf' file is not supposed to be a copy of the entire >`/etc/defaults/rc.conf' file. It should only contain overrides (as the >comment of the first paragraph below mentions: > > > >># This is rc.conf - a file full of useful variables that you can set >># to change the default startup behavior of your system. You should >># not edit this file! Put any overrides into one of the ${rc_conf_files} >># instead and you will be able to update these defaults later without >># spamming your local configuration information. >> >> > >If this is not /etc/rc.conf but /etc/defaults/rc.conf please read again >the comments above. You should not edit this file directly! > >If this is your /etc/rc.conf though, make sure you trim away whatever is >not needed. An rc.conf file that would work fine for a workstation with >one network interface card and several customizations for local services >and/or options could look like this (most of this is copied from my own >rc.conf at home): > > # system console options: > cursor="destructive" > keyrate="200.35" > > # misc options: > clear_tmp_enable="YES" > dumpdev="/dev/ad0s3b" > > # network related options: > hostname="pc15.example.net" > network_interfaces="lo0 sis0" > ifconfig_lo0="inet 127.0.0.1" > ifconfig_sis0="inet 192.168.0.30" > > # firewall setup: > firewall_enable="YES" > firewall_quiet="YES" > firewall_logging="YES" > firewall_type="/etc/ipfw.rules" > > # 1. enabled services: > usbd_enable="YES" > syslogd_enable="YES" > syslogd_flags="-s -s" > # 2. disabled services: > inetd_enable="NO" > sshd_enable="NO" > rpc_lockd_enable="NO" > rpc_statd_enable="NO" > portmap_enable="NO" > devd_enable="NO" > >- Giorgos > >_______________________________________________ >freebsd-current@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-current >To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" > > > With a couple of exceptions, like nfs, I didnt think I had unused info in there. I will take a look at it and also what I posted. Maybe I goofed and did post defaults/etc Rob
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4144DC4F.10209>