Subject: Re: System V /etc/rc.*
To: der Mouse <mouse@Collatz.McRCIM.McGill.EDU>
From: Simon J. Gerraty <>
List: current-users
Date: 08/04/1995 09:02:53
> If you're really dedicated to that style of doing things, that would be
> all there is to rc.local, no?  


> (Also, surely you mean `ls /etc/rc.d`,
> not `ls /etc/rc.d/*`.)

That would also be a bit dangerous.  What emacs ~ files etc?
And even if you wanted that, why waste an ls process? 

My does (esentially):

for f in ${dir}/${class}*
	case $f in
	*.bak|*.old|*~)	;;
	*.sh)	. $f;;
	*)	/bin/sh $f $arg;;

Its the sourcing of the .sh files that gives much of the flexibility.