Re: rc.inet1.conf mod is 644 Joost and Jeffrey,
Thanks for the explanation.
On 2005-01-27, Joost Kremers <joostkremers@yahoo.com> wrote:
> but if you actually mean "sourcing" it (see 'man bash', search for
> 'source'), then no, it does not need to be executable. sourcing a file can
> be done when the file is -x.
Yes, I had a bit of confusion with the term 'sourcing', but as you
suggested, I took a peek in man bash and I think I've got things
straight between executing and sourcing a file.
I notice that in my rc.d directory, besides 'rc.inet1.conf',
'rc.netdevice' and 'rc.serial' also don't begin with the '#!/bin/sh', so
I assume they could be chmod to 644 without effecting my system?
And then when the config files are sourced, as in the case of
'rc.inet1.conf' because it hasn't any commands, it's setting environment
variables?
Thanks for the info,
And Best regards.... |