[ale] compiled system calls versus shell scripts

Jason Day jasonday at worldnet.att.net
Thu Oct 23 15:44:31 EDT 2003


On Thu, Oct 23, 2003 at 01:31:35PM -0400, Geoffrey wrote:
> pseudo code for example:
> 
> start eth0
> 
> start samba &
> sambapid=$!
> 
> start nfs &
> nfspid=$!
> 
> (wait $sambapid ; mount /win95) &
> 
> (wait $nfspid; mount /nfsshare) &

Maintaining that would be a real chore though.  If you want to add a
service, not only do you have to find its dependencies, but you have to
find the right place in the script to put its invocation.  Removing a
service would be even worse, because you would have to update the
invocations of every service that depends on it.

If you use the Makefile method, then you only have to update the
Makefile.  The startup scripts themselves don't have to change.

And besides, booting with make is just cool :)
-- 
Jason Day                                       jasonday at
http://jasonday.home.att.net                    worldnet dot att dot net
 
"Of course I'm paranoid, everyone is trying to kill me."
    -- Weyoun-6, Star Trek: Deep Space 9



More information about the Ale mailing list