[mrtg] Re: cfgmaker

Daniel R . Kilbourne drk at voyager.net
Tue Aug 28 15:35:36 MEST 2001


yeah...that would work

but, I am looking for automation - I would like the lines to be left out upoin initial creation of the file


I think I will investigate the 'if-filter' option 


James Overbeck extolled:
> 
> 	I think I follow... You don't even want the commented-out interfaces,
> correct?
> 	Quick and dirty solution is a simple grep that leaves out all commented
> lines, even the possibly useful ones. But it does make the file smaller.
> 
> grep -v ^# mrtg.cfg > new-mrtg.cfg
> 
> HTH,
> James
-- 
--------------------------------
Daniel R. Kilbourne
daniel.kilbourne at corecomm.com
CoreComm Systems Engineering
________________________________

--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive     http://www.ee.ethz.ch/~slist/mrtg
FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi



More information about the mrtg mailing list