📄 preioexec
字号:
## OpenCA - RA Server Command## (c) 1998-2001 by Massimiliano Pala and OpenCA Group#### File Name: preIOExec## Brief: preIOExec command## Description: execute the preIOExec command## Parameters:if ( $cmd !~ /preIOExec/i ) { configError( "Wrong Command Usage ($cmd/preIOExec)!" ); exit 1;}## Get required parameters from the configuration filemy $command = getRequired( 'PreIOExec' );print startLogPage( "Pre IO Exec");print addLogSection("Executing Pre IO Exec ... ");print addLogLine ( "" );print addPreLogLine ( "[ $command ]" );if( $command ne "" ) { $ret = `$command 2>&1`;}if( $? != 0 ) { print addErrorLog( "Failed!","$ret" ); closePage(); exit;} print addLogLine("Ok.");print closeLogSection();closePage();1;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -