OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Re: netstart location

From: Nick Guenther (kousuegmail.com)
Date: Tue Aug 07 2007 - 00:02:34 CDT


On 8/6/07, Ian Darwin <iandarwinsys.com> wrote:
> Nick Guenther wrote:
> > Besides tradition, is there any particular reason that netstart is in
> > /etc? This has always confused me, I'd think it would be in /sbin.
> > Further, why is it not executable?
>
> It's a script that is an extension of /etc/rc, like /etc/rc.local. It
> does not belong in /sbin as it is not intended for manual or repeated use.

Except it sort of is. It parses command line arguments in order to up
certain interfaces at will. It doesn't matter as much with servers,
but with laptops, especially laptops with wireless, it's surely used
manually.
$ sudo sh /etc/netstart ath0

Yeah?
--Nick