Re: Automating dpkg-reconfigure answers via a shell script
On Thu, 13 Sep 2001, Joey Hess wrote:
JH >* Use the Pipe driver in conjunction with a regular database and a
JH > database stack to make debconf read in values on stdin at startup to
JH > override whatever's in the file.
JH >
Also you can use Pipe driver with debconf-copydb tools to insert new
values into debconfd database....
For example I write small script as hook for apt (pre-install). This
script process list of installed packages, and run for each package -
"wget http://myhost.com/cgi-bin/config?id=myid&package=${pkg} | \
debconf-copydb pipe writedb --config=Name:pipe --config=Driver:Pipe
Reply to: