[Pkg-sysvinit-devel] Re: Fixing hwclock.sh

Miquel van Smoorenburg miquels at cistron.nl
Fri Jan 6 17:39:17 UTC 2006

On Fri, 2006-01-06 at 16:52 +0100, Thomas Hood wrote:
> Miquel van Smoorenburg wrote:
> > On Fri, 2006-01-06 at 15:39 +0100, Thomas Hood wrote:
> >> If any script would have to create a subshell in order to protect the sourcer's
> >> environment then it shouldn't be a .sh script.
> > 
> > Ehm, well:
> > .. *.sh script are already sourced in a subshell.
> OK, three things.  First, what I meant to say was: If a certain script S is given
> a .sh name and yet creates subshells in order to protect its sourcer's environment
> then it would be simpler if S were given a non-.sh name and S didn't create those
> subshells.
> Second, what you show above looks good.
> But, third, where did you get that code?  That's not how /etc/init.d/rc looks now.



More information about the Pkg-sysvinit-devel mailing list