/[pxelator]/lib/PXElator/httpd.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/httpd.pm

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

revision 188 by dpavlin, Sun Aug 9 22:05:09 2009 UTC revision 189 by dpavlin, Sun Aug 9 23:18:59 2009 UTC
# Line 249  sub start { Line 249  sub start {
249    
250          warn 'tap ', network::tap();          warn 'tap ', network::tap();
251    
252            daemons::start_stop 'browser', $url;
253            daemons::start_stop $_ foreach ( qw/dhcpd tftpd dnsd/ );
254            daemons::start_stop 'kvm' unless $ENV{DEV}; # skip kvm statup when running on real device
255    
256          my $server = IO::Socket::INET->new(          my $server = IO::Socket::INET->new(
257                          Proto     => 'tcp',                          Proto     => 'tcp',
258                          LocalAddr => $server::ip,                          LocalAddr => $server::ip,
# Line 259  sub start { Line 263  sub start {
263    
264          print "url $url\n";          print "url $url\n";
265    
         daemons::start_stop 'browser', $url;  
         daemons::start_stop $_ foreach ( qw/dhcpd tftpd dnsd/ );  
         daemons::start_stop 'kvm' unless $ENV{DEV}; # skip kvm statup when running on real device  
   
266          while (1) {          while (1) {
267                  my $client = $server->accept() || next; # ALARM trickle us                  my $client = $server->accept() || next; # ALARM trickle us
268                  my $request = <$client>;                  my $request = <$client>;

Legend:
Removed from v.188  
changed lines
  Added in v.189

  ViewVC Help
Powered by ViewVC 1.1.26