Package: systeminstaller Version: 1.04-2 Severity: minor On Wed, 2005-02-09 at 10:31 +0100, Valentin Vidic wrote: > On Tue, Feb 08, 2005 at 02:51:14PM -0700, dann frazier wrote: > > On Tue, 2005-02-08 at 14:17 +0100, Valentin Vidic wrote: > > > Here is a patch with some fixes for mkdhcpconf: > > > > > > --- mkdhcpconf.orig 2005-02-08 05:21:19.000000000 +0100 > > > +++ mkdhcpconf 2005-02-08 05:21:29.000000000 +0100 > > > @@ -3,9 +3,6 @@ > > > eval 'exec /usr/bin/perl -S $0 ${1+"$@"}' > > > if 0; # not running under some shell > > > > > > -eval 'exec /usr/bin/perl -S $0 ${1+"$@"}' > > > - if 0; # not running under some shell > > > - > > > # $Header: /cvsroot/systeminstaller/systeminstaller/bin/mkdhcpconf,v > > > 1.21 2003/10/23 22:22:44 pramath Exp $ > > > > > > # Copyright (c) 2001 International Business Machines > > > @@ -94,7 +91,6 @@ > > > &verbose("Printing file preamble"); > > > &preamble(%HINFO); > > > > > > -print getnetent; > > > &verbose("Resolving machine list."); > > > my @machinelist = list_client(); > > > my @adaplist = list_adapter(); > > > > Got a description? > > OK, I thought it was obvious :) > > 1. that eval 'exec... is repeated twice, is that necessary?
I don't see that anywhere - sure its not just your copy? :) > 2. 'print getnetent' makes mkdhcpconf print out something like > localnet2-6341624. This is a bit of a problem for me because I'm calling > mkdhcpconf from another script... Committed upstream, I'll upload some new debs soon; I'm submitting a bug to remind myself. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]