[rancid] Re: [PATCH] Use Git to store configs
Austin Schutz
tex at off.org
Mon Apr 2 03:35:25 UTC 2007
On Fri, Mar 30, 2007 at 09:17:02PM -0500, Jeffrey C. Ollie wrote:
> Yeah, that too bad that flock isn't widely available, since it works
> perfectly for what I needed. Does your script work in a similar method?
>
It will fork and lock a specified file, returning a pid. When your
shell (or perl, I suppose) scripts wants to release the lock it kills
the specified pid, causing the lock to be released. I have tested it on
Linux, Solaris, and AIX.
If you want it please contact me off list (unless other people are
interested too).
Austin
More information about the Rancid-discuss
mailing list