111 lines
2.7 KiB
HTML
111 lines
2.7 KiB
HTML
|
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
|
<HTML><HEAD><TITLE>Man page of LCF</TITLE>
|
|
</HEAD><BODY>
|
|
<H1>LCF</H1>
|
|
Section: Debian GNU/Linux manual (1)<BR>Updated: Feb 1 2002<BR><A HREF="#index">Index</A>
|
|
<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR>
|
|
|
|
<A NAME="lbAB"> </A>
|
|
<H2>NAME</H2>
|
|
|
|
lcf - Determine which of the historical versions of a config is installed
|
|
<A NAME="lbAC"> </A>
|
|
<H2>SYNOPSIS</H2>
|
|
|
|
<B>lcf</B>
|
|
|
|
<I>[options]</I>
|
|
|
|
<I><Destination File Name></I>
|
|
|
|
<I><Historical MD5SUM source directory></I>
|
|
|
|
<A NAME="lbAD"> </A>
|
|
<H2>DESCRIPTION</H2>
|
|
|
|
This script, given a destination file name, and a directory containing
|
|
md5sums of historical versions of the file, attempts to determine if
|
|
the installed version corresponds to a historical version. lcf uses
|
|
the same algorithm that ucf uses, and should exhibit the same
|
|
behaviour.
|
|
<P>
|
|
|
|
The source directory is the place where historical md5sums are
|
|
expected to live. Specifically, the historical md5sums are looked for
|
|
in either the file
|
|
<I>${filename}.md5sum, </I>
|
|
|
|
or the subdirectory
|
|
<I>${filename}.md5sum.d/</I>
|
|
|
|
<A NAME="lbAE"> </A>
|
|
<H2>OPTIONS</H2>
|
|
|
|
<DL COMPACT>
|
|
<DT id="1"><B>-h, --help</B>
|
|
|
|
<DD>
|
|
Print a short usage message
|
|
<DT id="2"><B>-n, --no-action</B>
|
|
|
|
<DD>
|
|
Dry run. Print the actions that would be taken if the script is
|
|
invoked, but take no action.
|
|
<DT id="3"><B>-d [n], --debug [n]</B>
|
|
|
|
<DD>
|
|
Set the debug level to the (optional) level
|
|
<I>n </I>
|
|
|
|
(n defaults to 1). This turns on copious debugging information.
|
|
<DT id="4"><B>-v, --verbose</B>
|
|
|
|
<DD>
|
|
Make the script be very verbose about setting internal variables.
|
|
</DL>
|
|
<A NAME="lbAF"> </A>
|
|
<H2>FILES</H2>
|
|
|
|
<P>
|
|
|
|
<I>/var/lib/ucf/hashfile,</I>
|
|
|
|
<I>/etc/ucf.conf</I>
|
|
|
|
<A NAME="lbAG"> </A>
|
|
<H2>SEE ALSO</H2>
|
|
|
|
<A HREF="/cgi-bin/man/man2html?1+ucf">ucf</A>(1)
|
|
<A HREF="/cgi-bin/man/man2html?5+ucf.conf">ucf.conf</A>(5).
|
|
<A NAME="lbAH"> </A>
|
|
<H2>BUGS</H2>
|
|
|
|
There are no bugs. Any resemblance thereof is delirium. Really.
|
|
<A NAME="lbAI"> </A>
|
|
<H2>AUTHOR</H2>
|
|
|
|
This manual page was written Manoj Srivastava <<A HREF="mailto:srivasta@debian.org">srivasta@debian.org</A>>,
|
|
for the Debian GNU/Linux system.
|
|
<P>
|
|
|
|
<HR>
|
|
<A NAME="index"> </A><H2>Index</H2>
|
|
<DL>
|
|
<DT id="5"><A HREF="#lbAB">NAME</A><DD>
|
|
<DT id="6"><A HREF="#lbAC">SYNOPSIS</A><DD>
|
|
<DT id="7"><A HREF="#lbAD">DESCRIPTION</A><DD>
|
|
<DT id="8"><A HREF="#lbAE">OPTIONS</A><DD>
|
|
<DT id="9"><A HREF="#lbAF">FILES</A><DD>
|
|
<DT id="10"><A HREF="#lbAG">SEE ALSO</A><DD>
|
|
<DT id="11"><A HREF="#lbAH">BUGS</A><DD>
|
|
<DT id="12"><A HREF="#lbAI">AUTHOR</A><DD>
|
|
</DL>
|
|
<HR>
|
|
This document was created by
|
|
<A HREF="/cgi-bin/man/man2html">man2html</A>,
|
|
using the manual pages.<BR>
|
|
Time: 00:05:18 GMT, March 31, 2021
|
|
</BODY>
|
|
</HTML>
|