Commit Graph

30 Commits

Author SHA1 Message Date
obrien
07115bc66a Catch up with PHK's sio(4) cuaa->cuad rework [sys/dev/sio/sio.c rev. 1.456]. 2004-11-19 03:51:12 +00:00
luigi
745a7b1537 Add "tty" entry. 2002-07-14 14:18:16 +00:00
luigi
a40b6ee161 Move creation of password databases before starting daemons,
otherwise the latter might fail because userids are not found.
2002-07-01 21:30:39 +00:00
luigi
e6465566f6 Fix handling of undefined variables.
Add override for /etc/rc.local .
Add hook to start syslogd if compiled-in and /etc/syslog.conf exists
2002-04-07 20:41:09 +00:00
luigi
c41381fd39 Default to ee as EDITOR (some apps such as disklabel default to "vi"
which is not available).
2002-03-11 05:42:14 +00:00
luigi
bf24f7e68a Uncomment the entry for a getty on the serial port. Boxes with
a serial console can make use of it.
2002-03-10 21:11:35 +00:00
luigi
58e10953a4 With devfs, we do not need to initialize pty's permissions. 2002-03-10 20:47:26 +00:00
luigi
2731e7d254 Remove host.conf, and introduce a way to override the content
of selected files (at the moment /etc/host.conf and /etc/resolv.conf)
from /etc/rc.conf , so the number of places to customize is
reduced.
2002-03-09 18:27:02 +00:00
luigi
de1c5cdc03 Add a (commented out) sample entry for use with a serial line. 2002-03-08 12:37:42 +00:00
luigi
6b229a1455 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.
2002-03-08 05:15:08 +00:00
luigi
fa65eefffd MFS: sync with -stable (no functional difference). 2002-03-08 04:54:52 +00:00
luigi
5fc8233445 Invalidate password for sample user entry. 2002-03-08 03:57:57 +00:00
luigi
841fdef9ef Atapi units are now /dev/ad* and not /dev/wd* 2002-03-08 03:55:19 +00:00
luigi
068bd1c135 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...
2001-11-29 03:16:23 +00:00
luigi
af343dd439 Better code to scan the ethertable. 2001-10-25 17:40:03 +00:00
luigi
1f90bd5aeb Make fetch_mask return ${default_mask} if entry not found.
Add a couple of diagnostic messages.
2001-10-07 17:17:26 +00:00
luigi
0a6d2bba3a Add functions to lookup in /etc/networks and set interface
addresses, invoke them from /etc/rc
2001-10-04 00:46:44 +00:00
luigi
800c8cb93d Add "networks" file used to lookup netmasks 2001-10-04 00:46:03 +00:00
luigi
15634d6869 Modify wildcard for vmware interfaces. I am not sure how
MAC addresses are generated for those interfaces, but as long
as the entry is next to the bottom of the list the chance of
conflicts is low.
2001-09-30 17:37:03 +00:00
luigi
0886aa51b6 Add entries for vmware interfaces. 2001-09-27 16:48:13 +00:00
luigi
244185f005 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.
2001-09-27 16:47:45 +00:00
ru
cb4a4b2415 mount_msdos(8) -> mount_msdosfs(8). 2001-06-01 12:06:06 +00:00
joe
810d87b74f MF4S: Syncronise with Luigi's work in -stable. 2001-04-24 07:46:35 +00:00
luigi
8d41a8fd84 Enable command line editing in the shell 2001-02-18 06:54:07 +00:00
joe
697d87a94b MF4: revision 1.3.2.1.
inetd is not always present, check before invoking it.
2000-12-23 19:11:53 +00:00
luigi
ba3d6eb3b3 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.
2000-11-30 21:43:37 +00:00
dwhite
de8b1605ae Commit PicoBSD mega-patch:
. Bring PicoBSD up to date with -CURRENT reality.
. Make PicoBSD smart and not spam /dev/vn0 and /mnt.  Now it uses the first
  unused vn device and creates a temporary mountpoint in /tmp.
. Miscellaneous build cleanups and optimizations.

Unfortunately the bridge, isp, and router floppies are too big and need
the axe treatment.  The install floppy needs updating to -CURRENT. Dial and
net build and (appear to) run OK.  I will be adressing these in the
near future (unless someone beats me to it :-) ).

PR:		misc/17737
Submitted by:	Omachonu Ogali <oogali@intranova.net>
2000-04-25 19:00:08 +00:00
luigi
044b357a31 Cleanup of the default floppy tree for PicoBSD builds.
Approved-by: jordan
2000-02-08 14:20:54 +00:00
peter
efabb9ccb1 $Id$ -> $FreeBSD$ 1999-08-28 01:35:59 +00:00
dwhite
9cda01decb 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
1999-08-22 21:45:24 +00:00