History log of /freebsd-10.1-release/release/picobsd/floppy.tree/etc/rc.conf
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 272461 02-Oct-2014 gjb

Copy stable/10@r272459 to releng/10.1 as part of
the 10.1-RELEASE process.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation

# 256281 10-Oct-2013 gjb

Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation


# 91853 08-Mar-2002 luigi

Major cleanup of PicoBSD startup scripts, which now should be
closer to doing "the right thing".

The structure is now the following:

* /etc/rc (from MFS) loads the rest of /etc and /root from
/fd and then from floppy (if present), then transfers control
to /etc/rc1

* /etc/rc1 loads defaults from /etc/rc.conf.defaults, tries to
set the hostname basing on the MAC address of the first ethernet
interface, and then sources /etc/rc.conf and /etc/rc.conf.local
for local configurations

* The rest of the startup process is then performed (rc.network and so on).

Everything except the initial /etc/rc (from MFS) can be overridden with
a local version loaded from floppy. But in most cases, you should only need
to customize the following files in /etc:

rc.conf rc.firewall hosts

Previously there were a number of inconsistencies in the calling
between files, and also a lot of clutter in rc.conf and rc.firewall.
Also, "rc1" was called "rc" and would overwrite the initial /etc/rc
from MFS, making it really hard to figure out what was going on in
case of bugs.


# 87079 29-Nov-2001 luigi

Implement a more efficient way to assign addresses: read /etc/hosts
only once into an array of shell variables, and then scan the array
to find entries matching the MAC address.
Associative arrays would really be handy here...


# 85494 25-Oct-2001 luigi

Better code to scan the ethertable.


# 84625 07-Oct-2001 luigi

Make fetch_mask return ${default_mask} if entry not found.
Add a couple of diagnostic messages.


# 84432 03-Oct-2001 luigi

Add functions to lookup in /etc/networks and set interface
addresses, invoke them from /etc/rc


# 84026 27-Sep-2001 luigi

Enable the use of wildcards in the #ethertable section of
/etc/hosts to map MAC addresses to hostnames.

Main use is to get addresses for vmware interfaces.


# 75900 24-Apr-2001 joe

MF4S: Syncronise with Luigi's work in -stable.


# 69416 30-Nov-2000 luigi

login.conf: we don't want coredumps on picobsd
rc.conf: make the system recognise the MAC address and assign an IP
automatically from /etc/hosts (or ask the user)
sshd_config: don't do x11 forwarding.


# 57048 08-Feb-2000 luigi

Cleanup of the default floppy tree for PicoBSD builds.

Approved-by: jordan


# 50479 27-Aug-1999 peter

$Id$ -> $FreeBSD$


# 50186 22-Aug-1999 dwhite

Major PicoBSD update by luigi with some debugging help from myself.

. Now builds on -STABLE (-CURRENT is broken due to bugs)
. etc directory contents centralized instead of in each
type directory (can exclude & override as desired)
. Removed extraneous language files (lang files for rc really necessary?)
. dialog-based build tool with support for custom floppy builds
. MFS image loads as a mfs_root module instead of compiled into kernel

THIS IS BROKEN ON CURRENT. I'll MFC to -STABLE immediately following.
luigi tells me I have an OK from jkh on the MFC.

Submitted by: luigi