/mandos/trunk

To get this branch, use:
bzr branch http://bzr.recompile.se/loggerhead/mandos/trunk

« back to all changes in this revision

Viewing changes to plugins.d/usplash.c

  • Committer: Teddy Hogeborn
  • Date: 2008-09-26 21:54:54 UTC
  • Revision ID: teddy@fukt.bsnet.se-20080926215454-7kfrl0gxmisz71gw
* mandos: Remove unused "select" module.  Import "ctypes.util".
  (AvahiError.__init__): Call __init__ of superclass.
  (AvahiService.__init__): Rename keyword arg "type" to "servicetype".
  (AvahiService.rename): Bug fix: use "self.rename_count".
  (Client.__init__): Use "None" instead of "{}" as default value.
  (tcp_handler): Renamed to "TCP_handler".  All callers changed.
  (IPv6_TCPServer.__init__): Don't "return", just call the superclass
                             method.
  (if_nametoindex): Don't import "ctypes.util" here.
  (main): Removed unused variable "main_loop_started".

Show diffs side-by-side

added added

removed removed

Lines of Context:
431
431
      position += strlen(cmdline + position) + 1;
432
432
    }
433
433
    cmdline_argv[cmdline_argc] = NULL;
434
 
    free(cmdline);
435
434
  }
436
435
  /* Kill old usplash */
437
436
    kill(usplash_pid, SIGTERM);
464
463
    
465
464
    execv(usplash_name, cmdline_argv);
466
465
    perror("execv");
 
466
    free(cmdline);
467
467
    free(cmdline_argv);
468
468
    _exit(EXIT_FAILURE);
469
469
  }
 
470
  free(cmdline);
470
471
  free(cmdline_argv);
471
472
  sleep(2);
472
473
  if(not usplash_write("PULSATE", NULL)