In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/etc/rc.d/rc.sysextra line 7:
echo $&commat
^-- SC2068 (error): Double quote array expansions to avoid re-splitting elements.
In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/etc/rc.d/rc.sysextra line 17:
model=$([ "$(pibinfo Wireless)" -eq 1 ] && tdb get System ModelW_ss || tdb get System Model_ss)
^-- SC2015 (info): Note that A && B || C is not if-then-else. C may run when A is true.
In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/etc/rc.d/rc.sysextra line 18:
[ ! -d $MOUNT_PATH/$model ] && $MKDIR $MOUNT_PATH/$model
^----^ SC2086 (info): Double quote to prevent globbing and word splitting.
^----^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
[ ! -d $MOUNT_PATH/"$model" ] && $MKDIR $MOUNT_PATH/"$model"
In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/etc/rc.d/rc.sysextra line 19:
[ $model != "" ] && ln -sf $MOUNT_PATH/$model $VOLUME_PATH || echo "model is empty ==================="
^----^ SC2086 (info): Double quote to prevent globbing and word splitting.
^----^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
[ "$model" != "" ] && ln -sf $MOUNT_PATH/"$model" $VOLUME_PATH || echo "model is empty ==================="
In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/etc/rc.d/rc.sysextra line 24:
[ "$(mount | grep '/mnt/usb')" = "" ] && automount.sh mmcblk0 || mkvolume
^-- SC2015 (info): Note that A && B || C is not if-then-else. C may run when A is true.
In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/etc/rc.d/rc.sysextra line 31:
[ "$end" = "" ] && [ "$action" != "" ] || showUsage
^-- SC2015 (info): Note that A && B || C is not if-then-else. C may run when A is true.
For more information:
https://www.shellcheck.net/wiki/SC2068 -- Double quote array expansions to ...
https://www.shellcheck.net/wiki/SC2015 -- Note that A && B || C is not if-t...
https://www.shellcheck.net/wiki/SC2086 -- Double quote to prevent globbing ...