Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Apr 2003 00:22:01 -0400
From:      Mike Makonnen <mtm@identd.net>
To:        FreeBSD-rc@yahoogroups.com
Cc:        jwd@bsdwins.com
Subject:   Re: /etc/netstart patch update (Was: Re: [FreeBSD-rc] Re: RFC: Removal of the old rc system from -curr ent)
Message-ID:  <20030429042202.ULRH25152.out005.verizon.net@kokeb.ambesa.net>
In-Reply-To: <20030429021850.GA67022@BSDWins.Com>
References:  <6100BCEB85F8E244959C756C04E0EDD1010F7EEA@otcexc01.otc.adaptec.com> <20030428151302.G60570@12-234-22-23.pyvrag.nggov.pbz> <20030428223537.GA68013@dragon.nuxi.com> <20030428233952.GA66229@BSDWins.Com> <20030429021850.GA67022@BSDWins.Com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 28 Apr 2003 22:18:50 -0400
John De Boskey <jwd@bsdwins.com> wrote:

> Some comments:
> 
>    Is there a reason we have atm1, and then atm2.sh & atm3.sh? This
> naming scheme does not seem to be followed by any of the other
> numerically postfixed scripts.

If a script has a '.sh' suffix it means that it's is run inside the callers
process. Otherwise, the default is to run the script in a subshell. In rcNG this
means that if you need persistence of a variable from one script to another you
need to give it a .sh suffix. The atm2.sh and atm3.sh scripts share a couple of
variables, so it was necessary to have them execute in the same process as
/etc/rc. Ideally, this shouldn't happen, but I don't have an ATM interface and I
don't know how it's supposed to be setup, so I left those scripts largely
untouched in hopes that someone who does use them can rewrite the scripts for
rcNG.

>    I believe etc/network_ipv6 needs the following patch:

Correct. Thanks.

> I can deal
> with atm?.sh if folks think it should be done.

If you know what you're doing with ATM, yes please. Otherwise, please leave them
as they are.

Cheers.
-- 
Mike Makonnen  | GPG-KEY: http://www.identd.net/~mtm/mtm.asc
mtm@identd.net | D228 1A6F C64E 120A A1C9  A3AA DAE1 E2AF DBCC 68B9
mtm@FreeBSD.Org| FreeBSD - The Power To Serve



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030429042202.ULRH25152.out005.verizon.net>