Date: Fri, 20 Nov 1998 00:44:31 +0100 From: sthaug@nethelp.no To: nik@nothing-going-on.demon.co.uk Cc: dot@dotat.at, hackers@FreeBSD.ORG Subject: Re: /etc/rc.d, and changes to /etc/rc? Message-ID: <12222.911519071@verdi.nethelp.no> In-Reply-To: Your message of "Thu, 19 Nov 1998 21:57:48 %2B0000" References: <19981119215748.35037@nothing-going-on.org>
next in thread | previous in thread | raw e-mail | index | archive | help
> > And I dislike calling the scripts > > /etc/rc.d/foo.sh because (IMO) the .sh is redundant and potentially > > misleading if (e.g.) the sysadmin decides to rewrite them in Perl. At least in Solaris there is a difference: /etc/rc.d/foo.sh is sourced (run in the same shell), while /etc/rc.d/foo is run in a subshell. This means that if you want to do something which affects other startup jobs, (eg. set umask to 022), you better do it in foo.sh. A useful difference, IMHO. Steinar Haug, Nethelp consulting, sthaug@nethelp.no To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?12222.911519071>