From: Buchan M. <bg...@st...> - 2009-11-13 08:37:54
|
On Thursday, 12 November 2009 21:03:56 mar...@de... wrote: > Hi ! > > i've got several include-directives in my bb-hosts, > and observed, that devmon (v0.3.1-beta1) only recognize devices > if they are directly written in bb-hosts and not in one of several > include-files .. > > Is that right or a bug ... Support for include files was added a while back : $ grep -n -A10 "include statement" modules/dm_config.pm 1279: # First see if this is an include statement 1280- if($line =~ /^\s*(?:disp|net)?include\s+(.+)$/i) { 1281- my $file = $1; 1282- # Tack on our etc dir if this isnt an absolute path 1283- $file = "$etcdir/$file" if $file !~ /^\//; 1284- # Add the file to our read array 1285- push @bbfiles, $file; 1286- } 1287- 1288- # Else see if this line matches the ip/host bb-hosts format 1289- elsif($line =~ /^\s*(\d+\.\d+\.\d+\.\d+)\s+(\S+)(.*)$/i) { Unfortunately, there's no debugging enabled (e.g. listing which files are being opened). Can you paste some example include lines? Regards, Buchan |