Question about current rc scripts

M.Hirsch M.Hirsch at gmx.de
Tue Jun 20 16:41:36 UTC 2006


Yes, I think this is the solution.

It seems to depend on the filename, specifically the ".sh" extension.

CODE (in /etc/rc):
        /etc/rc.d/*.sh)                 # run in current shell

Thanks, I am testing this now. I'll post back as soon as I got results 
(1h or so...)

M.

[LoN]Kamikaze schrieb:

>If your scripts name ends with .sh it will be sourced into the process and all variables set there will prevail (this feature only works in /etc/rc.d). If you do this you must not use the exit command anywhere in your script.
>  
>


More information about the freebsd-stable mailing list