/usr/local/etc/rc.d startup scripts
rsmith at xs4all.nl
Wed Mar 7 21:02:39 UTC 2007
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).
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20070307/52dda1a2/attachment.pgp
More information about the freebsd-questions