Date: Tue, 20 Jun 2006 18:41:28 +0200 From: "M.Hirsch" <M.Hirsch@gmx.de> Cc: "\[LoN\]Kamikaze" <LoN_Kamikaze@gmx.de>, freebsd-stable@freebsd.org Subject: Re: Question about current rc scripts Message-ID: <44982538.3000807@gmx.de> In-Reply-To: <449823A0.2020602@gmx.de> References: <E1Fsj3P-0007mN-BE@dilbert.firstcallgroup.co.uk> <449823A0.2020602@gmx.de>
next in thread | previous in thread | raw e-mail | index | archive | help
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. > >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44982538.3000807>