[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

netstart -> rc.netstart



Low hanging fruit, but a minor, aesthetic nit:
Any good reasons not to consider renaming /etc/netstart to the more
consistent /etc/rc.netstart?

It's called by /etc/rc; it's part of the startup process; etc.

Too late for 2.8, but toying with FreeBSD 4.1 at work, and noting
that they've also created /etc/rc.network and rc.network6 which basically
define a few shell subroutines (functions what have you).  /etc/rc
sources these files and executes the subroutines in proper order.

All the actual executions are called from /etc/rc, the regular and
net6 stuff are segregated out from each other for readability, etc.
Useful idea?


Anyhow, phase one:
mv /etc/netstart /etc/rc.netstart for consistency in naming.

Changes involve /etc/rc, makefiles in /usr/src/etc and man page changes
for rc.8, dhcp.8, and afterboot.8.