In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/rc.button/rfkill line 3:
[ "${ACTION}" = "released" -o -n "${TYPE}" ] || exit 0
                           ^-- SC2166 (warning): Prefer [ p ] || [ q ] as [ p -o q ] is not well defined.


In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/rc.button/rfkill line 5:
. /lib/functions.sh
  ^---------------^ SC1091 (info): Not following: /lib/functions.sh was not specified as input (see shellcheck -x).


In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/rc.button/rfkill line 10:
	uci set wireless.$1.disabled=$rfkill_state
                         ^-- SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
	uci set wireless."$1".disabled=$rfkill_state


In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/rc.button/rfkill line 14:
	local disabled
        ^------------^ SC3043 (warning): In POSIX sh, 'local' is undefined.


In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/rc.button/rfkill line 15:
	config_get disabled $1 disabled
                            ^-- SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
	config_get disabled "$1" disabled

For more information:
  https://www.shellcheck.net/wiki/SC2166 -- Prefer [ p ] || [ q ] as [ p -o q...
  https://www.shellcheck.net/wiki/SC3043 -- In POSIX sh, 'local' is undefined.
  https://www.shellcheck.net/wiki/SC1091 -- Not following: /lib/functions.sh ...