In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/bin/print_a1210_inputs.sh line 3:
X86_OS=`uname -a | grep -c -i x86`
^-------------------------^ SC2006 (style): Use $(...) notation instead of legacy backticks `...`.
Did you mean:
X86_OS=$(uname -a | grep -c -i x86)
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/bin/print_a1210_inputs.sh line 14:
tmp=`cat $GP/door_input_1/value`
^--------------------------^ SC2006 (style): Use $(...) notation instead of legacy backticks `...`.
Did you mean:
tmp=$(cat $GP/door_input_1/value)
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/bin/print_a1210_inputs.sh line 15:
tmp2=`cat $ADC/in_voltage_DOOR_ADC_1_raw`
^-- SC2006 (style): Use $(...) notation instead of legacy backticks `...`.
Did you mean:
tmp2=$(cat $ADC/in_voltage_DOOR_ADC_1_raw)
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/bin/print_a1210_inputs.sh line 18:
tmp=`cat $GP/door_input_2/value`
^--------------------------^ SC2006 (style): Use $(...) notation instead of legacy backticks `...`.
Did you mean:
tmp=$(cat $GP/door_input_2/value)
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/bin/print_a1210_inputs.sh line 19:
tmp2=`cat $ADC/in_voltage_DOOR_ADC_2_raw`
^-- SC2006 (style): Use $(...) notation instead of legacy backticks `...`.
Did you mean:
tmp2=$(cat $ADC/in_voltage_DOOR_ADC_2_raw)
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/bin/print_a1210_inputs.sh line 22:
tmp=`cat $GP/ext_input_1/value`
^-------------------------^ SC2006 (style): Use $(...) notation instead of legacy backticks `...`.
Did you mean:
tmp=$(cat $GP/ext_input_1/value)
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/bin/print_a1210_inputs.sh line 23:
tmp2=`cat $ADC/in_voltage_EXT_ADC_1_raw`
^-- SC2006 (style): Use $(...) notation instead of legacy backticks `...`.
Did you mean:
tmp2=$(cat $ADC/in_voltage_EXT_ADC_1_raw)
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/bin/print_a1210_inputs.sh line 26:
tmp=`cat $GP/ext_input_2/value`
^-------------------------^ SC2006 (style): Use $(...) notation instead of legacy backticks `...`.
Did you mean:
tmp=$(cat $GP/ext_input_2/value)
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/bin/print_a1210_inputs.sh line 27:
tmp2=`cat $ADC/in_voltage_EXT_ADC_2_raw`
^-- SC2006 (style): Use $(...) notation instead of legacy backticks `...`.
Did you mean:
tmp2=$(cat $ADC/in_voltage_EXT_ADC_2_raw)
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/bin/print_a1210_inputs.sh line 30:
tmp=`cat $GP/reader_input/value`
^--------------------------^ SC2006 (style): Use $(...) notation instead of legacy backticks `...`.
Did you mean:
tmp=$(cat $GP/reader_input/value)
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/bin/print_a1210_inputs.sh line 31:
tmp2=`cat $ADC/in_voltage_READER_ADC_raw`
^-- SC2006 (style): Use $(...) notation instead of legacy backticks `...`.
Did you mean:
tmp2=$(cat $ADC/in_voltage_READER_ADC_raw)
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/bin/print_a1210_inputs.sh line 34:
tmp=`cat $GP/sup_digin_aux_io_1/value`
^-- SC2006 (style): Use $(...) notation instead of legacy backticks `...`.
Did you mean:
tmp=$(cat $GP/sup_digin_aux_io_1/value)
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/bin/print_a1210_inputs.sh line 35:
tmp2=`cat $ADC/in_voltage_SUP_ADC_AUX_IO_1_raw`
^-- SC2006 (style): Use $(...) notation instead of legacy backticks `...`.
Did you mean:
tmp2=$(cat $ADC/in_voltage_SUP_ADC_AUX_IO_1_raw)
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/bin/print_a1210_inputs.sh line 38:
tmp=`cat $GP/sup_digin_aux_io_2/value`
^-- SC2006 (style): Use $(...) notation instead of legacy backticks `...`.
Did you mean:
tmp=$(cat $GP/sup_digin_aux_io_2/value)
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/bin/print_a1210_inputs.sh line 39:
tmp2=`cat $ADC/in_voltage_SUP_ADC_AUX_IO_2_raw`
^-- SC2006 (style): Use $(...) notation instead of legacy backticks `...`.
Did you mean:
tmp2=$(cat $ADC/in_voltage_SUP_ADC_AUX_IO_2_raw)
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/bin/print_a1210_inputs.sh line 42:
tmp=`cat $GP/aux_io_load_fault/value`
^-- SC2006 (style): Use $(...) notation instead of legacy backticks `...`.
Did you mean:
tmp=$(cat $GP/aux_io_load_fault/value)
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/bin/print_a1210_inputs.sh line 45:
tmp=`cat $GP/reader_load_fault/value`
^-- SC2006 (style): Use $(...) notation instead of legacy backticks `...`.
Did you mean:
tmp=$(cat $GP/reader_load_fault/value)
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/bin/print_a1210_inputs.sh line 48:
tmp=`cat $ADC/in_voltage_READER_IMON_raw`
^-- SC2006 (style): Use $(...) notation instead of legacy backticks `...`.
Did you mean:
tmp=$(cat $ADC/in_voltage_READER_IMON_raw)
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/bin/print_a1210_inputs.sh line 51:
tmp=`cat $ADC/in_voltage_RELAY_IMON_raw`
^-- SC2006 (style): Use $(...) notation instead of legacy backticks `...`.
Did you mean:
tmp=$(cat $ADC/in_voltage_RELAY_IMON_raw)
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/bin/print_a1210_inputs.sh line 54:
tmp=`cat $GP/dc_available/value`
^--------------------------^ SC2006 (style): Use $(...) notation instead of legacy backticks `...`.
Did you mean:
tmp=$(cat $GP/dc_available/value)
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/bin/print_a1210_inputs.sh line 57:
tmp=`cat $ADC/in_voltage_DC_IMON_raw`
^-- SC2006 (style): Use $(...) notation instead of legacy backticks `...`.
Did you mean:
tmp=$(cat $ADC/in_voltage_DC_IMON_raw)
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/bin/print_a1210_inputs.sh line 60:
tmp=`cat $GP/relay_12v_sel/value`
^---------------------------^ SC2006 (style): Use $(...) notation instead of legacy backticks `...`.
Did you mean:
tmp=$(cat $GP/relay_12v_sel/value)
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/bin/print_a1210_inputs.sh line 63:
tmp=`cat $GP/relay_24v_sel/value`
^---------------------------^ SC2006 (style): Use $(...) notation instead of legacy backticks `...`.
Did you mean:
tmp=$(cat $GP/relay_24v_sel/value)
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/bin/print_a1210_inputs.sh line 66:
tmp=`cat $GP/tampering/value`
^-----------------------^ SC2006 (style): Use $(...) notation instead of legacy backticks `...`.
Did you mean:
tmp=$(cat $GP/tampering/value)
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/bin/print_a1210_inputs.sh line 69:
tmp=`cat $GP/poe_af/value`
^--------------------^ SC2006 (style): Use $(...) notation instead of legacy backticks `...`.
Did you mean:
tmp=$(cat $GP/poe_af/value)
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/bin/print_a1210_inputs.sh line 76:
tmp=`$TCMD -p DOOR_INPUT_1`
^---------------------^ SC2006 (style): Use $(...) notation instead of legacy backticks `...`.
Did you mean:
tmp=$($TCMD -p DOOR_INPUT_1)
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/bin/print_a1210_inputs.sh line 77:
tmp2=`$TCMD -p DOOR_ADC_1`
^-------------------^ SC2006 (style): Use $(...) notation instead of legacy backticks `...`.
Did you mean:
tmp2=$($TCMD -p DOOR_ADC_1)
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/bin/print_a1210_inputs.sh line 80:
tmp=`$TCMD -p DOOR_INPUT_2`
^---------------------^ SC2006 (style): Use $(...) notation instead of legacy backticks `...`.
Did you mean:
tmp=$($TCMD -p DOOR_INPUT_2)
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/bin/print_a1210_inputs.sh line 81:
tmp2=`$TCMD -p DOOR_ADC_2`
^-------------------^ SC2006 (style): Use $(...) notation instead of legacy backticks `...`.
Did you mean:
tmp2=$($TCMD -p DOOR_ADC_2)
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/bin/print_a1210_inputs.sh line 84:
tmp=`$TCMD -p EXT_INPUT_1`
^--------------------^ SC2006 (style): Use $(...) notation instead of legacy backticks `...`.
Did you mean:
tmp=$($TCMD -p EXT_INPUT_1)
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/bin/print_a1210_inputs.sh line 85:
tmp2=`$TCMD -p EXT_ADC_1`
^------------------^ SC2006 (style): Use $(...) notation instead of legacy backticks `...`.
Did you mean:
tmp2=$($TCMD -p EXT_ADC_1)
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/bin/print_a1210_inputs.sh line 88:
tmp=`$TCMD -p EXT_INPUT_2`
^--------------------^ SC2006 (style): Use $(...) notation instead of legacy backticks `...`.
Did you mean:
tmp=$($TCMD -p EXT_INPUT_2)
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/bin/print_a1210_inputs.sh line 89:
tmp2=`$TCMD -p EXT_ADC_2`
^------------------^ SC2006 (style): Use $(...) notation instead of legacy backticks `...`.
Did you mean:
tmp2=$($TCMD -p EXT_ADC_2)
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/bin/print_a1210_inputs.sh line 92:
tmp=`$TCMD -p READER_INPUT`
^---------------------^ SC2006 (style): Use $(...) notation instead of legacy backticks `...`.
Did you mean:
tmp=$($TCMD -p READER_INPUT)
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/bin/print_a1210_inputs.sh line 93:
tmp2=`$TCMD -p READER_ADC`
^-------------------^ SC2006 (style): Use $(...) notation instead of legacy backticks `...`.
Did you mean:
tmp2=$($TCMD -p READER_ADC)
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/bin/print_a1210_inputs.sh line 96:
tmp=`$TCMD -p SUP_DIGIN_AUX_IO_1`
^---------------------------^ SC2006 (style): Use $(...) notation instead of legacy backticks `...`.
Did you mean:
tmp=$($TCMD -p SUP_DIGIN_AUX_IO_1)
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/bin/print_a1210_inputs.sh line 97:
tmp2=`$TCMD -p SUP_ADC_AUX_IO_1`
^-------------------------^ SC2006 (style): Use $(...) notation instead of legacy backticks `...`.
Did you mean:
tmp2=$($TCMD -p SUP_ADC_AUX_IO_1)
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/bin/print_a1210_inputs.sh line 100:
tmp=`$TCMD -p SUP_DIGIN_AUX_IO_2`
^---------------------------^ SC2006 (style): Use $(...) notation instead of legacy backticks `...`.
Did you mean:
tmp=$($TCMD -p SUP_DIGIN_AUX_IO_2)
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/bin/print_a1210_inputs.sh line 101:
tmp2=`$TCMD -p SUP_ADC_AUX_IO_2`
^-------------------------^ SC2006 (style): Use $(...) notation instead of legacy backticks `...`.
Did you mean:
tmp2=$($TCMD -p SUP_ADC_AUX_IO_2)
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/bin/print_a1210_inputs.sh line 104:
tmp=`$TCMD -p AUX_IO_LOAD_FAULT`
^--------------------------^ SC2006 (style): Use $(...) notation instead of legacy backticks `...`.
Did you mean:
tmp=$($TCMD -p AUX_IO_LOAD_FAULT)
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/bin/print_a1210_inputs.sh line 107:
tmp=`$TCMD -p READER_LOAD_FAULT`
^--------------------------^ SC2006 (style): Use $(...) notation instead of legacy backticks `...`.
Did you mean:
tmp=$($TCMD -p READER_LOAD_FAULT)
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/bin/print_a1210_inputs.sh line 110:
tmp=`$TCMD -p READER_IMON`
^--------------------^ SC2006 (style): Use $(...) notation instead of legacy backticks `...`.
Did you mean:
tmp=$($TCMD -p READER_IMON)
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/bin/print_a1210_inputs.sh line 113:
tmp=`$TCMD -p RELAY_IMON`
^-------------------^ SC2006 (style): Use $(...) notation instead of legacy backticks `...`.
Did you mean:
tmp=$($TCMD -p RELAY_IMON)
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/bin/print_a1210_inputs.sh line 116:
tmp=`$TCMD -p DC_AVAILABLE`
^---------------------^ SC2006 (style): Use $(...) notation instead of legacy backticks `...`.
Did you mean:
tmp=$($TCMD -p DC_AVAILABLE)
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/bin/print_a1210_inputs.sh line 119:
tmp=`$TCMD -p DC_IMON`
^----------------^ SC2006 (style): Use $(...) notation instead of legacy backticks `...`.
Did you mean:
tmp=$($TCMD -p DC_IMON)
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/bin/print_a1210_inputs.sh line 122:
tmp=`$TCMD -p RELAY_12V_SEL`
^----------------------^ SC2006 (style): Use $(...) notation instead of legacy backticks `...`.
Did you mean:
tmp=$($TCMD -p RELAY_12V_SEL)
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/bin/print_a1210_inputs.sh line 125:
tmp=`$TCMD -p RELAY_24V_SEL`
^----------------------^ SC2006 (style): Use $(...) notation instead of legacy backticks `...`.
Did you mean:
tmp=$($TCMD -p RELAY_24V_SEL)
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/bin/print_a1210_inputs.sh line 128:
tmp=`$TCMD -p TAMPERING`
^------------------^ SC2006 (style): Use $(...) notation instead of legacy backticks `...`.
Did you mean:
tmp=$($TCMD -p TAMPERING)
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/bin/print_a1210_inputs.sh line 131:
tmp=`$TCMD -p POE_AF`
^---------------^ SC2006 (style): Use $(...) notation instead of legacy backticks `...`.
Did you mean:
tmp=$($TCMD -p POE_AF)
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/bin/print_a1210_inputs.sh line 134:
tmp=`$TCMD -p PGOOD_24V`
^------------------^ SC2006 (style): Use $(...) notation instead of legacy backticks `...`.
Did you mean:
tmp=$($TCMD -p PGOOD_24V)
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/bin/print_a1210_inputs.sh line 137:
tmp=`$TCMD -p POE_AVAILABLE`
^----------------------^ SC2006 (style): Use $(...) notation instead of legacy backticks `...`.
Did you mean:
tmp=$($TCMD -p POE_AVAILABLE)
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/bin/print_a1210_inputs.sh line 142:
if [ $X86_OS = "1" ]; then
^-----^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
if [ "$X86_OS" = "1" ]; then
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/bin/print_a1210_inputs.sh line 149:
if [ "$linked" == "linked" ]; then
^-- SC3014 (warning): In POSIX sh, == in place of = is undefined.
For more information:
https://www.shellcheck.net/wiki/SC3014 -- In POSIX sh, == in place of = is ...
https://www.shellcheck.net/wiki/SC2086 -- Double quote to prevent globbing ...
https://www.shellcheck.net/wiki/SC2006 -- Use $(...) notation instead of le...