/[pxelator]/lib/PXElator/kvm.pm
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /lib/PXElator/kvm.pm

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 224 by dpavlin, Thu Aug 6 22:11:02 2009 UTC revision 225 by dpavlin, Sun Aug 16 00:03:30 2009 UTC
# Line 20  sub port { Line 20  sub port {
20          return join( $del, $server::ip, $port );          return join( $del, $server::ip, $port );
21  }  }
22    
23  sub start_fork { qw/monitor wireshark/ }  sub fork_if_active { qw/monitor/ }
24    
25  use x11;  use x11;
26    
# Line 28  sub monitor { Line 28  sub monitor {
28          x11::xterm( "monitor $nr" => 'nc ' . port(' ') );          x11::xterm( "monitor $nr" => 'nc ' . port(' ') );
29  }  }
30    
 sub wireshark {  
         exec "wireshark -k -i tap0";  
 }  
   
31  sub actions { qw/reset activate/ }  sub actions { qw/reset activate/ }
32    
33  sub reset {  sub reset {

Legend:
Removed from v.224  
changed lines
  Added in v.225

  ViewVC Help
Powered by ViewVC 1.1.26