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

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

revision 230 by dpavlin, Sun Aug 16 21:27:15 2009 UTC revision 231 by dpavlin, Sun Aug 16 22:24:22 2009 UTC
# Line 80  sub start_stop { Line 80  sub start_stop {
80                          # child                          # child
81                          my $invoke = 'start';                          my $invoke = 'start';
82                          $invoke = $1 if $daemon =~ s{/(.+)}{};                          $invoke = $1 if $daemon =~ s{/(.+)}{};
83                          if ( $daemon =~ m{dhcpd|tftpd|dnsd} ) {                          if ( $daemon =~ m{dhcpd|tftpd|dnsd|syslogd} ) {
84                                  my $exec = "perl -I$server::base_dir/lib -I$server::base_dir/lib/PXElator -M$daemon -e ${daemon}::${invoke}";                                  my $exec = "perl -I$server::base_dir/lib -I$server::base_dir/lib/PXElator -M$daemon -e ${daemon}::${invoke}";
85                                  audit 'exec', $daemon, 'exec' => $exec;                                  audit 'exec', $daemon, 'exec' => $exec;
86                                  x11::xterm( $daemon => $exec );                                  x11::xterm( $daemon => $exec );

Legend:
Removed from v.230  
changed lines
  Added in v.231

  ViewVC Help
Powered by ViewVC 1.1.26