http://st44cej736t2jpbzaww6vbws6mhs74n5tycyr6b2vuvvreko4yigruqd.onion/talks/debconf-debconf/tutorial-doc.mdwn
In this tutorial, we will make it use
use debconf to do both. The Templates
file Start writing a debian/templates file. Each time
you find a piece of output or a question, add it to the
file as a new template. The format of this file is simple
and quite similar to a Debian control file: Template: packagename / something Type: [select,multiselect,string,boolean,note,text,password] Default: [an optional default value]...