refactor(master : nicsensor)调整init debug log函数
This commit is contained in:
parent
abd632d4f2
commit
2d663d4ec8
@ -555,11 +555,13 @@ init_debuglog(){
|
||||
format_log_print $INFO "Disable Detect : $DISABLE_DETECT"
|
||||
|
||||
if [ "$nic_slot" = "detect" ];then
|
||||
format_log_print $INFO "Operation Tpye : i2c detect"
|
||||
format_log_print $INFO "Operation Type : i2c detect"
|
||||
elif [ "$nic_slot" = "version" ];then
|
||||
format_log_print $INFO "Operation Tpye : get version"
|
||||
format_log_print $INFO "Operation Type : get version"
|
||||
elif [ $param_num -lt 2 ];then
|
||||
format_log_print $INFO "Operation Type : help info"
|
||||
else
|
||||
format_log_print $INFO "Operation Tpye : read sensor"
|
||||
format_log_print $INFO "Operation Type : read sensor"
|
||||
fi
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user