man-pages/man1/debconf-communicate.1.html
2021-03-31 01:06:50 +01:00

105 lines
2.3 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML><HEAD><TITLE>Man page of DEBCONF-COMMUNICATE</TITLE>
</HEAD><BODY>
<H1>DEBCONF-COMMUNICATE</H1>
Section: Debconf (1)<BR>Updated: 2019-08-03<BR><A HREF="#index">Index</A>
<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR>
<A NAME="lbAB">&nbsp;</A>
<H2>NAME</H2>
debconf-communicate - communicate with debconf
<A NAME="lbAC">&nbsp;</A>
<H2>SYNOPSIS</H2>
<PRE>
echo commands | debconf-communicate [options] [package]
</PRE>
<A NAME="lbAD">&nbsp;</A>
<H2>DESCRIPTION</H2>
<B>debconf-communicate</B> allows you to communicate with debconf on the fly,
from the command line. The package argument is the name of the package
which you are pretending to be as you communicate with debconf, and it may
be omitted if you are lazy. It reads commands in the form used by the debconf
protocol from stdin. For documentation on the available commands and their
usage, see the debconf specification.
<P>
The commands are executed in sequence. The textual return code of each is
printed out to standard output.
<P>
The return value of this program is the numeric return code of the last
executed command.
<A NAME="lbAE">&nbsp;</A>
<H2>EXAMPLE</H2>
<PRE>
echo get debconf/frontend | debconf-communicate
</PRE>
<P>
Print out the value of the debconf/frontend question.
<A NAME="lbAF">&nbsp;</A>
<H2>WARNING</H2>
This program should never be used from a maintainer script of a package
that uses debconf! It may however, be useful in debugging.
<A NAME="lbAG">&nbsp;</A>
<H2>SEE ALSO</H2>
<B><A HREF="/cgi-bin/man/man2html?1+debconf-loadtemplate">debconf-loadtemplate</A></B>(1)
<A NAME="lbAH">&nbsp;</A>
<H2>AUTHOR</H2>
Joey Hess &lt;<A HREF="mailto:joeyh@debian.org">joeyh@debian.org</A>&gt;
<P>
<HR>
<A NAME="index">&nbsp;</A><H2>Index</H2>
<DL>
<DT id="1"><A HREF="#lbAB">NAME</A><DD>
<DT id="2"><A HREF="#lbAC">SYNOPSIS</A><DD>
<DT id="3"><A HREF="#lbAD">DESCRIPTION</A><DD>
<DT id="4"><A HREF="#lbAE">EXAMPLE</A><DD>
<DT id="5"><A HREF="#lbAF">WARNING</A><DD>
<DT id="6"><A HREF="#lbAG">SEE ALSO</A><DD>
<DT id="7"><A HREF="#lbAH">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:09 GMT, March 31, 2021
</BODY>
</HTML>