[175614] in North American Network Operators' Group

home help back first fref pref prev next nref lref last post

Re: Linux: concerns over systemd adoption and Debian's decision to

daemon@ATHENA.MIT.EDU (Jeffrey Ollie)
Sat Oct 25 11:13:46 2014

X-Original-To: nanog@nanog.org
In-Reply-To: <20141024151050.GA42095@reptiles.org>
Date: Sat, 25 Oct 2014 10:12:55 -0500
From: Jeffrey Ollie <jeff@ocjtech.us>
To: Jim Mercer <jim@reptiles.org>
Cc: NANOG <nanog@nanog.org>
Errors-To: nanog-bounces@nanog.org

On Fri, Oct 24, 2014 at 10:10 AM, Jim Mercer <jim@reptiles.org> wrote:
> On Fri, Oct 24, 2014 at 12:41:39AM -0400, Barry Shein wrote:
>> All those init.d scripts do about 95% the same thing, all hacked
>> together in shell. Most of them are probably just slightly edited
>> versions of some few paleo-scripts.
>
> in FreeBSD, the bulk of the rc.d scripts are basically the same format,
> inhaling a standardized library of functions, populating some variables,
> maybe adding a few custom functions, then jumping to "main".

If all of the scripts are cut'n'paste copes of each other, wouldn't it
be better to figure out a way to stop cutting and pasting?  I can't
count the number of times I've run into problems with my code because
of that, never mind how many times it's happened in other people's
code.

-- 
Jeff Ollie

home help back first fref pref prev next nref lref last post