[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: /var/run and scripts



Russell Coker wrote:
> The FHS is not clear on whether it is OK to put a script in /var/run.
> 
> If a program wants to create a script and then run it, where should it be 
> placed?  Red Hat has apmd creating such scripts under /var/run.  Is this 
> correct?  If not where should it be?

One example of just such a program is hotplug's usb.agent, which uses
temporary scripts in /var/run/usb that are created by scripts in
/etc/hotplug/usb. The temporary script is run when the usb device is
removed.

-- 
see shy jo

Attachment: pgpWd_SwzE42l.pgp
Description: PGP signature


Reply to: