Changeset 32405
- Timestamp:
- Sep 14, 2011, 2:17:19 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tags/ipp-20110622/ippScripts/scripts/register_imfile.pl
r31603 r32405 60 60 61 61 my $ipprc = PS::IPP::Config->new() or my_die_for_add( "Unable to set up", $exp_id, $tmp_exp_name, $tmp_class_id, $uri, $PS_EXIT_CONFIG_ERROR ); # IPP configuration 62 $ipprc->redirect_ output($logfile) or my_die_for_add( "Unable to redirect output", $exp_id, $tmp_exp_name, $tmp_class_id, $uri, $PS_EXIT_SYS_ERROR ) if $logfile;62 $ipprc->redirect_to_logfile($logfile) or my_die_for_add( "Unable to redirect output", $exp_id, $tmp_exp_name, $tmp_class_id, $uri, $PS_EXIT_SYS_ERROR ) if $logfile; 63 63 64 64 pod2usage( -msg => "Unknown option: @ARGV", -exitval => 2 ) if @ARGV; … … 147 147 elsif (($isGPC1 == 1) && ($burntoolStateCurrent == 1)) { 148 148 # print STDERR "In the good region: >>$burntoolStateCurrent<<\n"; 149 my $ppConfigDump_cmd = "$ppConfigDump -camera GPC1 -dump-camera -"; 149 # my $ppConfigDump_cmd = "$ppConfigDump -camera GPC1 -get-key BURNTOOL.STATE.GOOD"; 150 my $ppConfigDump_cmd = "$ppConfigDump -camera GPC1 -dump-camera -"; 150 151 my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) = 151 152 IPC::Cmd::run(command => $ppConfigDump_cmd, verbose => $verbose); … … 522 523 $command .= " -class_id $class_id"; 523 524 $command .= " -fault $exit_code"; 525 $command .= " -set_state pending_burntool "; 524 526 $command .= " -hostname $host" if defined $host; 525 527 $command .= " -dbname $dbname" if defined $dbname;
Note:
See TracChangeset
for help on using the changeset viewer.
