On Wed, Aug 08, 2007 at 08:59:50PM +0200, Adeodato Simó wrote: > * Ian Beckwith [Mon, 06 Aug 2007 19:22:07 +0100]: > > > dget > > http://nessie.mcc.ac.uk/~ianb/debian/netkit-telnet-ssl_0.17.24+0.1-18.dsc > > Hello Ian, > > I've reviewd the package. Everything looks fine, but there's one thing I > don't understand (but I'm not very well versed on update-inetd, so that's > the likely cause): why you only keep the arguments if the telnet inetd.conf > line was *disabled*?: > > args="`grep '^#<off>#.*/usr/sbin/in.telnetd' etc. > ^^^^^^^
Because at that point the prerm has already run and disabled the inetd entry. > Btw, instead of sed 's/.*\/usr\/sbin\/in.telnetd\(.*\)/\1/'`", you can > do sed 's#.*/usr/sbin/in.telnetd...#\1#', or eny other character instead > of #, like , or |. Thanks, I knew you could do that in perl, but I didn't realise sed supported it too. Ian. -- Ian Beckwith - [EMAIL PROTECTED] - http://nessie.mcc.ac.uk/~ianb/ GPG fingerprint: AF6C C0F1 1E74 424B BCD5 4814 40EC C154 A8BA C1EA Listening to: Tom Waits - Orphans (Disc 1-Brawlers) - Sea of Love -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]