Compare commits
No commits in common. "993bb01922fd7ac776b7bcaec2cdea580505f518" and "ccce95117a86d02d132d1f6ec25463eb0363786d" have entirely different histories.
993bb01922
...
ccce95117a
@ -59,7 +59,7 @@ fru_offset="0x00 0x00"
|
||||
Support_Sensor_List="emc1413, adc128, ina3221, tmp468, tmp112"
|
||||
Support_Server_List="5280m7, 5468m7, 5688m7, donghu, yichun, qiandaohu"
|
||||
# Which server will use this script
|
||||
server_type="auto"
|
||||
server_type="default"
|
||||
|
||||
# ---------------------------------------------------------
|
||||
# Common Varible (Don't Change)
|
||||
@ -140,7 +140,7 @@ ina3221_ch2_volt="0"
|
||||
ina3221_ch0_current="0"
|
||||
ina3221_ch1_current="0"
|
||||
ina3221_ch2_current="0"
|
||||
SCRIPT_VERSION="1.7.2"
|
||||
SCRIPT_VERSION="1.7.1"
|
||||
|
||||
fru_file_name=$option_data2
|
||||
fru_write_size=0
|
||||
@ -367,8 +367,8 @@ switch_pca9548_channel(){
|
||||
pre_exec_hook(){
|
||||
init_debuglog
|
||||
|
||||
# check server_type if is auto
|
||||
if [ "$server_type" = "auto" ];then
|
||||
# check server_type if is default
|
||||
if [ "$server_type" = "default" ];then
|
||||
try_get_server_type
|
||||
fi
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user