On Wed, Mar 07, 2007 at 10:58:22AM -0800, Don O'Neil wrote:
> Are there any special naming requirements for scripts in /usr/local/etc/rc.d
> for 6.1?
> 
> Someone is telling me they need to have a .sh suffix to startup correctly,
> but in past versions of FreeBSD anything you put in there would run as long
> as it was executable.

You can do both, see rc(8). If you use the .sh extension, the script
will be executed by the current shell, while those without will be run
in a subshell (which is probably what you want).

Roland
-- 
R.F.Smith                                   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)

Attachment: pgpvNQFvzxCcK.pgp
Description: PGP signature

Reply via email to