Hello Andreas. If you create debian/cvsnt.default dh_installinit will do it for you.
DH_INSTALLINIT(1) NAME dh_installinit - install init scripts into package build directories SYNOPSIS dh_installinit [debhelper options] [--name=name] [-n] [-r] [-d] [-- params] DESCRIPTION [...] If a file named debian/package.default exists, then it is installed into etc/default/package in the package build directory, with "package" replaced by the package name. On Tue, 31 Oct 2006 15:56:58 +0100, Andreas Tscharner <[EMAIL PROTECTED]> wrote: > Hello Mentors, > > I'm the maintainer of the CVSNT package, an enhanced version of cvs. > Just like cvs the cvsnt binary acts as client and server at the same > time. UNLIKE cvs, cvsnt needs the cvs lock daemon to work as server. > > At the moment, this lock server is started with an init.d script > regardless if the user installs cvsnt as server or not. My idea is to > create a file > /etc/default/cvsnt > which contains a variable that controls whether or not the lock server > is stared. > Is there any dh_* script that installs a given file or do I need to make > it in some other way? > > TIA and best regards > Andreas > -- > ("`-''-/").___..--''"`-._ > `o_ o ) `-. ( ).`-.__.`) > (_Y_.)' ._ ) `._ `. ``-..-' > _..`--'_..-_/ /--'_.' .' > (il).-'' (li).' ((!.-' > > Andreas Tscharner [EMAIL PROTECTED] > http://www.vis.ethz.ch/~andy ICQ-No. 14356454 > > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact > [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]