In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/rc.common line 4:
. $IPKG_INSTROOT/lib/functions.sh
^-----------------------------^ SC1091 (info): Not following: ./lib/functions.sh was not specified as input (see shellcheck -x).
^------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
. "$IPKG_INSTROOT"/lib/functions.sh
In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/rc.common line 5:
. $IPKG_INSTROOT/lib/functions/service.sh
^-- SC1091 (info): Not following: ./lib/functions/service.sh was not specified as input (see shellcheck -x).
^------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
. "$IPKG_INSTROOT"/lib/functions/service.sh
In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/rc.common line 20:
restart
^-----^ SC2119 (info): Use restart "$@" if function's $1 should mean script's $1.
In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/rc.common line 23:
restart() {
^-- SC2120 (warning): restart references arguments, but none are ever passed.
In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/rc.common line 40:
rm -f "$IPKG_INSTROOT"/etc/rc.d/S??$name
^---^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
rm -f "$IPKG_INSTROOT"/etc/rc.d/S??"$name"
In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/rc.common line 41:
rm -f "$IPKG_INSTROOT"/etc/rc.d/K??$name
^---^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
rm -f "$IPKG_INSTROOT"/etc/rc.d/K??"$name"
In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/rc.common line 103:
. "$initscript"
^-----------^ SC1090 (warning): ShellCheck can't follow non-constant source. Use a directive to specify location.
In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/rc.common line 108:
. $IPKG_INSTROOT/lib/functions/procd.sh
^-- SC1091 (info): Not following: ./lib/functions/procd.sh was not specified as input (see shellcheck -x).
^------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
. "$IPKG_INSTROOT"/lib/functions/procd.sh
In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/rc.common line 111:
local method="set"
^----------^ SC3043 (warning): In POSIX sh, 'local' is undefined.
In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/rc.common line 113:
procd_open_service "$(basename ${basescript:-$initscript})" "$initscript"
^------------------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
procd_open_service "$(basename "${basescript:-$initscript}")" "$initscript"
In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/rc.common line 126:
TRACE_SYSCALLS=1
^------------^ SC2034 (warning): TRACE_SYSCALLS appears unused. Verify use (or export if used externally).
In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/rc.common line 133:
procd_kill "$(basename ${basescript:-$initscript})" "$1"
^------------------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
procd_kill "$(basename "${basescript:-$initscript}")" "$1"
In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/rc.common line 150:
ALL_COMMANDS="start stop reload restart boot shutdown enable disable enabled depends ${EXTRA_COMMANDS}"
^----------^ SC2034 (warning): ALL_COMMANDS appears unused. Verify use (or export if used externally).
For more information:
https://www.shellcheck.net/wiki/SC1090 -- ShellCheck can't follow non-const...
https://www.shellcheck.net/wiki/SC2034 -- ALL_COMMANDS appears unused. Veri...
https://www.shellcheck.net/wiki/SC2120 -- restart references arguments, but...