Subject: Re: /etc/rc with #!/bin/sh ?
To: Erik E. Fair <fair@clock.org>
From: Andrew Brown <atatat@atatdot.net>
List: current-users
Date: 07/01/1999 00:24:29
>>Also, /sbin/init (I keep wanting to type /etc/init -- don'tcha just love
>>legacy systems?) explicitly calls
>>	execv(_PATH_BSHELL, ("sh", "/etc/rc", autoboot? "autoboot": 0, 0));
>
>Actually, this is an anachronism given that execve(2) deals with the #!
>magic number. I'd argue that init should simply execv("/etc/rc") without
>reference to "sh" - that way, if someone ever wants to change the script to
>something else, they can.

ooooooh!  you're pure evil, aren't you?  ;-)

ps - i link perl statically and stick in /sbin.

-- 
|-----< "CODE WARRIOR" >-----|
codewarrior@daemon.org             * "ah!  i see you have the internet
twofsonet@graffiti.com (Andrew Brown)                that goes *ping*!"
andrew@crossbar.com       * "information is power -- share the wealth."