[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: netstart -> rc.netstart
I believe that /etc/netstart is designed to be run at anytime and not just
startup. That could be the reason not to rename it.
On Wed, Nov 15, 2000 at 11:43:52PM -0800, chuck yerkes wrote:
> 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.
>
>