In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/usr/bin/restartnbix.sh line 19:
echo Stopping nbix resources: $resourceModules
^--------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
echo Stopping nbix resources: "$resourceModules"
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/usr/bin/restartnbix.sh line 20:
systemctl stop $resourceModules
^--------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
systemctl stop "$resourceModules"
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/usr/bin/restartnbix.sh line 24:
echo Stopping nbix base: $baseModules
^----------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
echo Stopping nbix base: "$baseModules"
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/usr/bin/restartnbix.sh line 25:
systemctl stop $baseModules
^----------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
systemctl stop "$baseModules"
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/usr/bin/restartnbix.sh line 27:
if [ $cleardb ]
^------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
if [ "$cleardb" ]
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/usr/bin/restartnbix.sh line 45:
echo Restarting nbix base: $baseModules
^----------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
echo Restarting nbix base: "$baseModules"
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/usr/bin/restartnbix.sh line 46:
systemctl start $baseModules
^----------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
systemctl start "$baseModules"
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/usr/bin/restartnbix.sh line 49:
systemctl is-active --quiet $module
^-----^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
systemctl is-active --quiet "$module"
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/usr/bin/restartnbix.sh line 50:
if [ $? -ne 0 ]; then
^-- SC2181 (style): Check exit code directly with e.g. 'if ! mycmd;', not indirectly with $?.
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/usr/bin/restartnbix.sh line 51:
echo FAILED to start $module
^-----^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
echo FAILED to start "$module"
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/usr/bin/restartnbix.sh line 55:
echo Restarting nbix resources: $resourceModules
^--------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
echo Restarting nbix resources: "$resourceModules"
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/usr/bin/restartnbix.sh line 56:
systemctl start $resourceModules
^--------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
systemctl start "$resourceModules"
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/usr/bin/restartnbix.sh line 59:
systemctl is-active --quiet $module
^-----^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
systemctl is-active --quiet "$module"
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/usr/bin/restartnbix.sh line 60:
if [ $? -ne 0 ]; then
^-- SC2181 (style): Check exit code directly with e.g. 'if ! mycmd;', not indirectly with $?.
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/usr/bin/restartnbix.sh line 61:
echo FAILED to start $module
^-----^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
echo FAILED to start "$module"
For more information:
https://www.shellcheck.net/wiki/SC2086 -- Double quote to prevent globbing ...
https://www.shellcheck.net/wiki/SC2181 -- Check exit code directly with e.g...