In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/lib/conf-migrate/upgrade-run.d/time-service line 12:
. /lib/rcscripts/sh/error.sh
^------------------------^ SC1091 (info): Not following: /lib/rcscripts/sh/error.sh was not specified as input (see shellcheck -x).
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/lib/conf-migrate/upgrade-run.d/time-service line 21:
[ $1 ] || error "Failed due to '\$1' empty"
^-- SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
[ "$1" ] || error "Failed due to '\$1' empty"
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/lib/conf-migrate/upgrade-run.d/time-service line 22:
[ -d $1 ] || error "Directory '$1' test failed"
^-- SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
[ -d "$1" ] || error "Directory '$1' test failed"
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/lib/conf-migrate/upgrade-run.d/time-service line 24:
if [ -f $1$ts_posix_time_zone ] && [ -r $1$ts_posix_time_zone ]; then
^-- SC2086 (info): Double quote to prevent globbing and word splitting.
^-- SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
if [ -f "$1"$ts_posix_time_zone ] && [ -r "$1"$ts_posix_time_zone ]; then
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/lib/conf-migrate/upgrade-run.d/time-service line 30:
if [ -h $1$localtime ]; then
^-- SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
if [ -h "$1"$localtime ]; then
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/lib/conf-migrate/upgrade-run.d/time-service line 34:
elif [ -f $1$localtime ] && [ -r $1$localtime ]; then
^-- SC2086 (info): Double quote to prevent globbing and word splitting.
^-- SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
elif [ -f "$1"$localtime ] && [ -r "$1"$localtime ]; then
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/lib/conf-migrate/upgrade-run.d/time-service line 52:
if [ -f $1$ts_conf ]; then
^-- SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
if [ -f "$1"$ts_conf ]; then
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/lib/conf-migrate/upgrade-run.d/time-service line 58:
if [ -f $legacy_conf ]; then
^----------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
if [ -f "$legacy_conf" ]; then
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/lib/conf-migrate/upgrade-run.d/time-service line 61:
. $legacy_conf || error "Failed to source: '$legacy_conf'"
^----------^ SC1090 (warning): ShellCheck can't follow non-constant source. Use a directive to specify location.
^----------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
. "$legacy_conf" || error "Failed to source: '$legacy_conf'"
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/lib/conf-migrate/upgrade-run.d/time-service line 67:
[ $POSIX_TZ ] || POSIX_TZ=GMT0BST,M3.5.0/1,M10.5.0
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
[ "$POSIX_TZ" ] || POSIX_TZ=GMT0BST,M3.5.0/1,M10.5.0
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/lib/conf-migrate/upgrade-run.d/time-service line 68:
[ $DST_ENABLED ] || DST_ENABLED=no
^----------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
[ "$DST_ENABLED" ] || DST_ENABLED=no
For more information:
https://www.shellcheck.net/wiki/SC1090 -- ShellCheck can't follow non-const...
https://www.shellcheck.net/wiki/SC1091 -- Not following: /lib/rcscripts/sh/...
https://www.shellcheck.net/wiki/SC2086 -- Double quote to prevent globbing ...