Subject: Re: /etc/rc with #!/bin/sh ?
To: Dave Burgess <burgess@cynjut.neonramp.com>
From: David Maxwell <david@fundy.ca>
List: current-users
Date: 06/23/1999 02:10:15
On Tue, Jun 22, 1999 at 09:57:14PM -0500, Dave Burgess wrote:
> At 10:46 PM 6/14/99 -0300, you wrote:
> >On Mon, Jun 14, 1999 at 05:20:14PM -0400, Andrew Brown wrote:
> >> >Is there a good/historical reason that /etc/rc doesn't have
> >> >a #!/bin/sh at the top?
> >> >newbox% file /etc/rc
> >> >/etc/rc: English text
> >>
> >> for that matter...why not make it
> >> #! basic system startup
> >> that way file can say "/etc/rc: commands text for basic system startup".
> >
> >Well, that might be worth considering. It doesn't happen to address
> >the reason I noticed - I was trying 'vim', and it couldn't syntax
> >highlight /etc/rc, cause it didn't know the filetype.
>
> True, but we DO have the source for vim, and anything we could do to make
> the basic startup files more understandable should be a good thing.
> Besides, it IS kind of cool.
I guess the primary retort is that I sometimes find occassion to run
/etc/rc by hand from time to time. Also, anyone who knows what the file
command does, probably knows what type of file /etc/rc is.
--
David Maxwell, david@vex.net|david@maxwell.net -->
(About an Amiga rendering landscapes) It's not thinking, it's being artistic!
- Jamie Woods