In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/install-package.sh line 15:
DEFRUNLEVELSSTART=3
^---------------^ SC2034 (warning): DEFRUNLEVELSSTART appears unused. Verify use (or export if used externally).
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/install-package.sh line 16:
DEFRUNLEVELSSTOP="0 1 2 4 5 6"
^--------------^ SC2034 (warning): DEFRUNLEVELSSTOP appears unused. Verify use (or export if used externally).
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/install-package.sh line 34:
. /usr/html/axis-cgi/lib/acap_handle_files.sh
^-- SC1091 (info): Not following: /usr/html/axis-cgi/lib/acap_handle_files.sh was not specified as input (see shellcheck -x).
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/install-package.sh line 36:
. /usr/html/axis-cgi/lib/preserve.sh
^-- SC1091 (info): Not following: /usr/html/axis-cgi/lib/preserve.sh was not specified as input (see shellcheck -x).
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/install-package.sh line 51:
. ./$ADPPACKCFG || {
^-----------^ SC1090 (warning): ShellCheck can't follow non-constant source. Use a directive to specify location.
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/install-package.sh line 64:
XMLCONFFILE=$INSTALLDIR/$DIRNAME/$APPNAME
^---------^ SC2034 (warning): XMLCONFFILE appears unused. Verify use (or export if used externally).
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/install-package.sh line 78:
GROUPNAME=$(r=${APPNAME#?};f=${APPNAME%$r};echo $(echo $f | tr [:lower:] [:upper:])$r)
^-- SC2295 (info): Expansions inside ${..} need to be quoted separately, otherwise they match as patterns.
^-- SC2046 (warning): Quote this to prevent word splitting.
^-- SC2086 (info): Double quote to prevent globbing and word splitting.
^-------^ SC2060 (warning): Quote parameters to tr to prevent glob expansion.
^-------^ SC2060 (warning): Quote parameters to tr to prevent glob expansion.
^-- SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
GROUPNAME=$(r=${APPNAME#?};f=${APPNAME%"$r"};echo $(echo "$f" | tr [:lower:] [:upper:])"$r")
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/install-package.sh line 101:
PREUPGRADE_LOG=$INSTALLDIR/$APPNAME/preupgrade.log
^------------^ SC2034 (warning): PREUPGRADE_LOG appears unused. Verify use (or export if used externally).
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/install-package.sh line 104:
POSTINSTALL_LOG=$INSTALLDIR/$APPNAME/postinstall.log
^-------------^ SC2034 (warning): POSTINSTALL_LOG appears unused. Verify use (or export if used externally).
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/install-package.sh line 106:
LOGINFOAPPNAME="logger -p INFO -t $APPNAME[0]"
^-- SC1087 (error): Use braces when expanding arrays, e.g. ${array[idx]} (or ${var}[.. to quiet).
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/install-package.sh line 109:
local respawn=$1
^-----------^ SC3043 (warning): In POSIX sh, 'local' is undefined.
^-- SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
local respawn="$1"
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/install-package.sh line 111:
cat <<-EOF > $PKG_ETC_INIT_D_APPNAME.tmp
^---------------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
cat <<-EOF > "$PKG_ETC_INIT_D_APPNAME".tmp
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/install-package.sh line 157:
cat <<-EOF >> $PKG_ETC_INIT_D_APPNAME.tmp
^---------------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
cat <<-EOF >> "$PKG_ETC_INIT_D_APPNAME".tmp
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/install-package.sh line 162:
cat <<-EOF >> $PKG_ETC_INIT_D_APPNAME.tmp
^---------------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
cat <<-EOF >> "$PKG_ETC_INIT_D_APPNAME".tmp
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/install-package.sh line 169:
cat <<-EOF >> $PKG_ETC_INIT_D_APPNAME.tmp
^---------------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
cat <<-EOF >> "$PKG_ETC_INIT_D_APPNAME".tmp
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/install-package.sh line 174:
cat <<-EOF >> $PKG_ETC_INIT_D_APPNAME.tmp
^---------------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
cat <<-EOF >> "$PKG_ETC_INIT_D_APPNAME".tmp
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/install-package.sh line 201:
chmod 755 $PKG_ETC_INIT_D_APPNAME.tmp ||
^---------------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
chmod 755 "$PKG_ETC_INIT_D_APPNAME".tmp ||
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/install-package.sh line 203:
fsynced_write_or_cleanup $PKG_ETC_INIT_D_APPNAME.tmp $PKG_ETC_INIT_D_APPNAME
^---------------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
^---------------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
fsynced_write_or_cleanup "$PKG_ETC_INIT_D_APPNAME".tmp "$PKG_ETC_INIT_D_APPNAME"
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/install-package.sh line 208:
if [ $STARTMODE = auto ]; then
^--------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
if [ "$STARTMODE" = auto ]; then
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/install-package.sh line 213:
cat <<-EOF > $ETC_SYSTEMD_APPNAME.tmp
^------------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
cat <<-EOF > "$ETC_SYSTEMD_APPNAME".tmp
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/install-package.sh line 225:
chmod 644 $ETC_SYSTEMD_APPNAME.tmp ||
^------------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
chmod 644 "$ETC_SYSTEMD_APPNAME".tmp ||
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/install-package.sh line 227:
chown root:root $ETC_SYSTEMD_APPNAME.tmp ||
^------------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
chown root:root "$ETC_SYSTEMD_APPNAME".tmp ||
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/install-package.sh line 229:
fsynced_write_or_cleanup $ETC_SYSTEMD_APPNAME.tmp $ETC_SYSTEMD_APPNAME
^------------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
^------------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
fsynced_write_or_cleanup "$ETC_SYSTEMD_APPNAME".tmp "$ETC_SYSTEMD_APPNAME"
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/install-package.sh line 233:
local respawn=$1
^-----------^ SC3043 (warning): In POSIX sh, 'local' is undefined.
^-- SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
local respawn="$1"
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/install-package.sh line 235:
cat <<-EOF > $ETC_SYSTEMD_APPNAME.tmp
^------------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
cat <<-EOF > "$ETC_SYSTEMD_APPNAME".tmp
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/install-package.sh line 242:
cat <<-EOF >> $ETC_SYSTEMD_APPNAME.tmp
^------------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
cat <<-EOF >> "$ETC_SYSTEMD_APPNAME".tmp
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/install-package.sh line 247:
cat <<-EOF >> $ETC_SYSTEMD_APPNAME.tmp
^------------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
cat <<-EOF >> "$ETC_SYSTEMD_APPNAME".tmp
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/install-package.sh line 257:
chmod 644 $ETC_SYSTEMD_APPNAME.tmp ||
^------------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
chmod 644 "$ETC_SYSTEMD_APPNAME".tmp ||
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/install-package.sh line 259:
chown root:root $ETC_SYSTEMD_APPNAME.tmp ||
^------------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
chown root:root "$ETC_SYSTEMD_APPNAME".tmp ||
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/install-package.sh line 261:
fsynced_write_or_cleanup $ETC_SYSTEMD_APPNAME.tmp $ETC_SYSTEMD_APPNAME
^------------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
^------------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
fsynced_write_or_cleanup "$ETC_SYSTEMD_APPNAME".tmp "$ETC_SYSTEMD_APPNAME"
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/install-package.sh line 265:
local line transfer_conf transfer_link mime_conf mime_link
^-- SC3043 (warning): In POSIX sh, 'local' is undefined.
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/install-package.sh line 273:
if [ -h $transfer_link ]; then
^------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
if [ -h "$transfer_link" ]; then
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/install-package.sh line 274:
rm -f $transfer_link || error "Failed to remove link: $transfer_link"
^------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
rm -f "$transfer_link" || error "Failed to remove link: $transfer_link"
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/install-package.sh line 277:
echo "# $APPNAME config" > $transfer_conf.tmp
^------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
echo "# $APPNAME config" > "$transfer_conf".tmp
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/install-package.sh line 289:
done < "$HTTPD_CONF_LOCAL" > $transfer_conf.tmp
^------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
done < "$HTTPD_CONF_LOCAL" > "$transfer_conf".tmp
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/install-package.sh line 290:
chmod 644 $transfer_conf.tmp
^------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
chmod 644 "$transfer_conf".tmp
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/install-package.sh line 291:
chown www:www $transfer_conf.tmp
^------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
chown www:www "$transfer_conf".tmp
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/install-package.sh line 293:
fsynced_write_or_cleanup $transfer_conf.tmp $transfer_conf
^------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
^------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
fsynced_write_or_cleanup "$transfer_conf".tmp "$transfer_conf"
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/install-package.sh line 295:
ln -sf $transfer_conf $transfer_link ||
^------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
^------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
ln -sf "$transfer_conf" "$transfer_link" ||
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/install-package.sh line 297:
chown -h www:www $transfer_link
^------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
chown -h www:www "$transfer_link"
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/install-package.sh line 306:
if [ -h $mime_link ]; then
^--------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
if [ -h "$mime_link" ]; then
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/install-package.sh line 307:
rm -f $mime_link || error "Failed to remove link: $mime_link"
^--------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
rm -f "$mime_link" || error "Failed to remove link: $mime_link"
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/install-package.sh line 310:
echo "# $APPNAME types" > $mime_conf.tmp
^--------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
echo "# $APPNAME types" > "$mime_conf".tmp
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/install-package.sh line 312:
[ -z "$line" ] || printf "AddType $line\n"
^---------------^ SC2059 (info): Don't use variables in the printf format string. Use printf '..%s..' "$foo".
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/install-package.sh line 313:
done < "$HTTPD_MIME_LOCAL" > $mime_conf.tmp
^--------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
done < "$HTTPD_MIME_LOCAL" > "$mime_conf".tmp
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/install-package.sh line 314:
chmod 644 $mime_conf.tmp
^--------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
chmod 644 "$mime_conf".tmp
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/install-package.sh line 315:
chown www:www $mime_conf.tmp
^--------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
chown www:www "$mime_conf".tmp
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/install-package.sh line 317:
fsynced_write_or_cleanup $mime_conf.tmp $mime_conf
^--------^ SC2086 (info): Double quote to prevent globbing and word splitting.
^--------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
fsynced_write_or_cleanup "$mime_conf".tmp "$mime_conf"
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/install-package.sh line 319:
ln -sf $mime_conf $mime_link ||
^--------^ SC2086 (info): Double quote to prevent globbing and word splitting.
^--------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
ln -sf "$mime_conf" "$mime_link" ||
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/install-package.sh line 321:
chown -h www:www $mime_link
^--------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
chown -h www:www "$mime_link"
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/install-package.sh line 326:
local tmp_file owner cgi_path cgi_path_dir cgi_path_file lic_file
^-- SC3043 (warning): In POSIX sh, 'local' is undefined.
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/install-package.sh line 327:
local chown_lic_file=no
^------------------^ SC3043 (warning): In POSIX sh, 'local' is undefined.
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/install-package.sh line 328:
local path_validation_expr='^\(/\([-./_~]\|[[:alnum:]]\|%[[:xdigit:]]\{2\}\)\+[^/]\)*$'
^------------------------^ SC3043 (warning): In POSIX sh, 'local' is undefined.
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/install-package.sh line 330:
if [ "$APPTYPE" != lua ] && [ ! -h $ETC_INIT_D_APPNAME ]; then
^-----------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
if [ "$APPTYPE" != lua ] && [ ! -h "$ETC_INIT_D_APPNAME" ]; then
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/install-package.sh line 331:
ln -sf $PKG_ETC_INIT_D_APPNAME $ETC_INIT_D_APPNAME ||
^---------------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
^-----------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
ln -sf "$PKG_ETC_INIT_D_APPNAME" "$ETC_INIT_D_APPNAME" ||
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/install-package.sh line 335:
if [ ! -h $WEB_DIR/$APPNAME ] && [ -d $INSTALLDIR/$DIRNAME/html ]; 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 [ ! -h $WEB_DIR/"$APPNAME" ] && [ -d $INSTALLDIR/"$DIRNAME"/html ]; then
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/install-package.sh line 336:
ln -sfn $INSTALLDIR/$DIRNAME/html $WEB_DIR/$APPNAME ||
^------^ SC2086 (info): Double quote to prevent globbing and word splitting.
^------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
ln -sfn $INSTALLDIR/"$DIRNAME"/html $WEB_DIR/"$APPNAME" ||
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/install-package.sh line 343:
if [ ! -r $HTTPCGIPATHS ]; then
^-----------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
if [ ! -r "$HTTPCGIPATHS" ]; then
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/install-package.sh line 350:
while read owner cgi_path; do
^--^ SC2162 (info): read without -r will mangle backslashes.
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/install-package.sh line 353:
printf "%s" "$cgi_path" | grep -q $path_validation_expr ||
^-------------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
printf "%s" "$cgi_path" | grep -q "$path_validation_expr" ||
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/install-package.sh line 358:
done<$HTTPCGIPATHS>$tmp_file
^-----------^ SC2086 (info): Double quote to prevent globbing and word splitting.
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
done<"$HTTPCGIPATHS">"$tmp_file"
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/install-package.sh line 360:
chmod 644 $tmp_file || error "Failed to chmod: $tmp_file"
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
chmod 644 "$tmp_file" || error "Failed to chmod: $tmp_file"
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/install-package.sh line 362:
fsynced_write_or_cleanup $tmp_file $PKG_CONFDIR/$HTTPCGIPATHS
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
^----------^ SC2086 (info): Double quote to prevent globbing and word splitting.
^-----------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
fsynced_write_or_cleanup "$tmp_file" "$PKG_CONFDIR"/"$HTTPCGIPATHS"
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/install-package.sh line 364:
ln -sf $PKG_CONFDIR/$HTTPCGIPATHS $ETC_TRANSFER_CONF/transfer_$APPNAME.conf ||
^----------^ SC2086 (info): Double quote to prevent globbing and word splitting.
^-----------^ SC2086 (info): Double quote to prevent globbing and word splitting.
^------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
ln -sf "$PKG_CONFDIR"/"$HTTPCGIPATHS" $ETC_TRANSFER_CONF/transfer_"$APPNAME".conf ||
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/install-package.sh line 367:
while read owner cgi_path; do
^--^ SC2162 (info): read without -r will mangle backslashes.
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/install-package.sh line 372:
owner=admin
^---^ SC2209 (warning): Use var=$(command) to assign output (or quote to assign string).
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/install-package.sh line 381:
cgi_path_dir=$INSTALLDIR/$DIRNAME/html/$(dirname $cgi_path) ||
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
cgi_path_dir=$INSTALLDIR/$DIRNAME/html/$(dirname "$cgi_path") ||
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/install-package.sh line 384:
cgi_path_file=$cgi_path_dir/$(basename $cgi_path) ||
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
cgi_path_file=$cgi_path_dir/$(basename "$cgi_path") ||
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/install-package.sh line 387:
mkdir -p $cgi_path_dir ||
^-----------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
mkdir -p "$cgi_path_dir" ||
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/install-package.sh line 390:
find $cgi_path_dir -type d | xargs chown sdk:sdk ||
^------------------------^ SC2038 (warning): Use -print0/-0 or -exec + to allow for non-alphanumeric filenames.
^-----------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
find "$cgi_path_dir" -type d | xargs chown sdk:sdk ||
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/install-package.sh line 393:
>$cgi_path_file.tmp ||
^-----------------^ SC2188 (warning): This redirection doesn't have a command. Move to its command (or use 'true' as no-op).
^------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
>"$cgi_path_file".tmp ||
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/install-package.sh line 396:
chgrp $owner $cgi_path_file.tmp ||
^----^ SC2086 (info): Double quote to prevent globbing and word splitting.
^------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
chgrp "$owner" "$cgi_path_file".tmp ||
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/install-package.sh line 399:
chmod 0750 $cgi_path_file.tmp ||
^------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
chmod 0750 "$cgi_path_file".tmp ||
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/install-package.sh line 402:
fsynced_write_or_cleanup $cgi_path_file.tmp $cgi_path_file
^------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
^------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
fsynced_write_or_cleanup "$cgi_path_file".tmp "$cgi_path_file"
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/install-package.sh line 403:
done<$HTTPCGIPATHS
^-----------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
done<"$HTTPCGIPATHS"
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/install-package.sh line 406:
if [ "$LICENSENAME" ] && [ -d $INSTALLDIR/$DIRNAME/html ]; then
^------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
if [ "$LICENSENAME" ] && [ -d $INSTALLDIR/"$DIRNAME"/html ]; then
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/install-package.sh line 409:
[ -r $lic_file ] ||
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
[ -r "$lic_file" ] ||
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/install-package.sh line 414:
chmod 0640 $lic_file ||
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
chmod 0640 "$lic_file" ||
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/install-package.sh line 417:
ln -sf $lic_file $INSTALLDIR/$DIRNAME/html/LICENSE >/dev/null 2>&1 ||
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
^------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
ln -sf "$lic_file" $INSTALLDIR/"$DIRNAME"/html/LICENSE >/dev/null 2>&1 ||
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/install-package.sh line 421:
if [ -d $INSTALLDIR/$DIRNAME/html ]; then
^------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
if [ -d $INSTALLDIR/"$DIRNAME"/html ]; then
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/install-package.sh line 422:
for dir in $(find $INSTALLDIR/$DIRNAME/html -type d); do
^-- SC2044 (warning): For loops over find output are fragile. Use find -exec or a while read loop.
^------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
for dir in $(find $INSTALLDIR/"$DIRNAME"/html -type d); do
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/install-package.sh line 423:
chmod 751 $dir || error "Failed to set permissions html"
^--^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
chmod 751 "$dir" || error "Failed to set permissions html"
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/install-package.sh line 426:
install_urls $APPNAME $INSTALLDIR/$DIRNAME/html ||
^------^ SC2086 (info): Double quote to prevent globbing and word splitting.
^------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
install_urls "$APPNAME" $INSTALLDIR/"$DIRNAME"/html ||
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/install-package.sh line 429:
chown $APPUSR:www $INSTALLDIR/$DIRNAME/html ||
^------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
chown $APPUSR:www $INSTALLDIR/"$DIRNAME"/html ||
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/install-package.sh line 434:
chown $APPUSR:www $lic_file ||
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
chown $APPUSR:www "$lic_file" ||
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/install-package.sh line 438:
if [ ! -h $ETC_DYN_APP_CONF ] && [ -r $PKG_ETC_DYN_APP_CONF ]; 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 [ ! -h "$ETC_DYN_APP_CONF" ] && [ -r "$PKG_ETC_DYN_APP_CONF" ]; then
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/install-package.sh line 439:
ln -sf $PKG_ETC_DYN_APP_CONF $ETC_DYN_APP_CONF ||
^-------------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
^---------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
ln -sf "$PKG_ETC_DYN_APP_CONF" "$ETC_DYN_APP_CONF" ||
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/install-package.sh line 442:
if [ ! -h $ETC_DYN_PARAM_APP_CONF ] &&
^---------------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
if [ ! -h "$ETC_DYN_PARAM_APP_CONF" ] &&
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/install-package.sh line 443:
[ -r $PKG_ETC_DYN_PARAM_APP_CONF ]; then
^-------------------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
[ -r "$PKG_ETC_DYN_PARAM_APP_CONF" ]; then
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/install-package.sh line 444:
ln -sf $PKG_ETC_DYN_PARAM_APP_CONF $ETC_DYN_PARAM_APP_CONF ||
^-------------------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
^---------------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
ln -sf "$PKG_ETC_DYN_PARAM_APP_CONF" "$ETC_DYN_PARAM_APP_CONF" ||
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/install-package.sh line 448:
if [ "$APPTYPE" != lua ] && [ ! -h $DBUS_FILE ]; then
^--------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
if [ "$APPTYPE" != lua ] && [ ! -h "$DBUS_FILE" ]; then
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/install-package.sh line 449:
ln -sf $PKG_DBUS_FILE $DBUS_FILE ||
^------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
^--------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
ln -sf "$PKG_DBUS_FILE" "$DBUS_FILE" ||
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/install-package.sh line 460:
$PHC readgroupfile $ETC_DYN_PARAM_APP_CONF ||
^---------------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
$PHC readgroupfile "$ETC_DYN_PARAM_APP_CONF" ||
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/install-package.sh line 481:
"$CERTSETPROTOCOL" $(id -u $APPUSR) ||
^--------------^ SC2046 (warning): Quote this to prevent word splitting.
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/install-package.sh line 488:
local _continue=ok
^-------------^ SC3043 (warning): In POSIX sh, 'local' is undefined.
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/install-package.sh line 514:
local line entry type param
^-------------------------^ SC3043 (warning): In POSIX sh, 'local' is undefined.
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/install-package.sh line 516:
chmod 755 $ABSAPPNAME || error "Failed to change permissions on $ABSAPPNAME"
^---------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
chmod 755 "$ABSAPPNAME" || error "Failed to change permissions on $ABSAPPNAME"
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/install-package.sh line 531:
mkdir -p $DATA_DIR || error "Failed to create dir $DATA_DIR"
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
mkdir -p "$DATA_DIR" || error "Failed to create dir $DATA_DIR"
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/install-package.sh line 533:
chown $APPUSR:$APPGRP $DATA_DIR ||
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
chown $APPUSR:$APPGRP "$DATA_DIR" ||
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/install-package.sh line 539:
cat <<-EOF > $PKG_ETC_DYN_PARAM_APP_CONF.tmp
^-------------------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
cat <<-EOF > "$PKG_ETC_DYN_PARAM_APP_CONF".tmp
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/install-package.sh line 547:
echo "[$GROUPNAME]" > $PKG_ETC_DYN_APP_CONF.tmp
^-------------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
echo "[$GROUPNAME]" > "$PKG_ETC_DYN_APP_CONF".tmp
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/install-package.sh line 550:
entry=$(echo $line | sed -rne 's/^[[:space:]]*([[:alnum:]]*)[[:space:]]*=[[:space:]]*"?([^"]*)"?.*/\1="\2"/p')
^---^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
entry=$(echo "$line" | sed -rne 's/^[[:space:]]*([[:alnum:]]*)[[:space:]]*=[[:space:]]*"?([^"]*)"?.*/\1="\2"/p')
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/install-package.sh line 552:
type=$(echo $line | sed -rne 's/.*type[[:space:]]*=[[:space:]]*"([^"]*)"[[:space:]]*$/\1/p')
^---^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
type=$(echo "$line" | sed -rne 's/.*type[[:space:]]*=[[:space:]]*"([^"]*)"[[:space:]]*$/\1/p')
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/install-package.sh line 555:
cat <<-EOF >> $PKG_ETC_DYN_PARAM_APP_CONF.tmp
^-------------------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
cat <<-EOF >> "$PKG_ETC_DYN_PARAM_APP_CONF".tmp
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/install-package.sh line 561:
echo $entry >> $PKG_ETC_DYN_APP_CONF.tmp
^----^ SC2086 (info): Double quote to prevent globbing and word splitting.
^-------------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
echo "$entry" >> "$PKG_ETC_DYN_APP_CONF".tmp
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/install-package.sh line 565:
echo "}" >> $PKG_ETC_DYN_PARAM_APP_CONF.tmp
^-------------------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
echo "}" >> "$PKG_ETC_DYN_PARAM_APP_CONF".tmp
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/install-package.sh line 567:
chown $APPUSR:$APPGRP $PKG_ETC_DYN_APP_CONF.tmp ||
^-------------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
chown $APPUSR:$APPGRP "$PKG_ETC_DYN_APP_CONF".tmp ||
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/install-package.sh line 570:
chown $APPUSR:$APPGRP $PKG_ETC_DYN_PARAM_APP_CONF.tmp ||
^-------------------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
chown $APPUSR:$APPGRP "$PKG_ETC_DYN_PARAM_APP_CONF".tmp ||
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/install-package.sh line 573:
fsynced_write_or_cleanup $PKG_ETC_DYN_APP_CONF.tmp $PKG_ETC_DYN_APP_CONF
^-------------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
^-------------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
fsynced_write_or_cleanup "$PKG_ETC_DYN_APP_CONF".tmp "$PKG_ETC_DYN_APP_CONF"
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/install-package.sh line 574:
fsynced_write_or_cleanup $PKG_ETC_DYN_PARAM_APP_CONF.tmp $PKG_ETC_DYN_PARAM_APP_CONF
^-------------------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
^-------------------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
fsynced_write_or_cleanup "$PKG_ETC_DYN_PARAM_APP_CONF".tmp "$PKG_ETC_DYN_PARAM_APP_CONF"
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/install-package.sh line 576:
cat <<-EOF > $PKG_DBUS_FILE.tmp
^------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
cat <<-EOF > "$PKG_DBUS_FILE".tmp
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/install-package.sh line 597:
chmod 644 $PKG_DBUS_FILE.tmp || error "Failed to chmod on $PKG_DBUS_FIL.tmp"
^------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
^-----------^ SC2153 (info): Possible misspelling: PKG_DBUS_FIL may not be assigned. Did you mean PKG_DBUS_FILE?
Did you mean:
chmod 644 "$PKG_DBUS_FILE".tmp || error "Failed to chmod on $PKG_DBUS_FIL.tmp"
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/install-package.sh line 598:
fsynced_write_or_cleanup $PKG_DBUS_FILE.tmp $PKG_DBUS_FILE
^------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
^------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
fsynced_write_or_cleanup "$PKG_DBUS_FILE".tmp "$PKG_DBUS_FILE"
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/install-package.sh line 603:
local url_conf_file url_group url_file url_base_file
^-- SC3043 (warning): In POSIX sh, 'local' is undefined.
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/install-package.sh line 606:
[ "$1" ] && url_conf_file=$1 || error "Configuration file not specified"
^-- SC2015 (info): Note that A && B || C is not if-then-else. C may run when A is true.
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/install-package.sh line 607:
[ "$2" ] && url_file=$2 || error "Failed to read file (file not found)"
^-- SC2015 (info): Note that A && B || C is not if-then-else. C may run when A is true.
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/install-package.sh line 614:
[ ! -d $url_file ] || return 0
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
[ ! -d "$url_file" ] || return 0
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/install-package.sh line 616:
url_group=$(stat -c "%G" $url_file)
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
url_group=$(stat -c "%G" "$url_file")
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/install-package.sh line 620:
url_base_file=$(basename $url_file)
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
url_base_file=$(basename "$url_file")
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/install-package.sh line 624:
" >> $url_conf_file || error "Failed add config for '$url_base_file' in '$url_conf_file'"
^------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
" >> "$url_conf_file" || error "Failed add config for '$url_base_file' in '$url_conf_file'"
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/install-package.sh line 627:
" >> $url_conf_file || error "Failed add Content-Type config for '$url_base_file' in '$url_conf_file'"
^------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
" >> "$url_conf_file" || error "Failed add Content-Type config for '$url_base_file' in '$url_conf_file'"
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/install-package.sh line 629:
echo "</Files>" >> $url_conf_file || error "Failed end config for '$url_base_file' in '$url_conf_file'"
^------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
echo "</Files>" >> "$url_conf_file" || error "Failed end config for '$url_base_file' in '$url_conf_file'"
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/install-package.sh line 639:
local url_conf_file dir files file
^-- SC3043 (warning): In POSIX sh, 'local' is undefined.
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/install-package.sh line 642:
[ "$1" ] && url_conf_file=$1 ||
^-- SC2015 (info): Note that A && B || C is not if-then-else. C may run when A is true.
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/install-package.sh line 644:
[ "$2" ] && dir=$2 || error "Failed to complete, missing argument dir"
^-- SC2015 (info): Note that A && B || C is not if-then-else. C may run when A is true.
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/install-package.sh line 646:
files=$(ls -A $dir)
^--^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
files=$(ls -A "$dir")
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/install-package.sh line 649:
add_file_to_url_conf $url_conf_file $dir/$file
^------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
^--^ SC2086 (info): Double quote to prevent globbing and word splitting.
^---^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
add_file_to_url_conf "$url_conf_file" "$dir"/"$file"
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/install-package.sh line 655:
local acap_name dir dirs subdir url_conf_tmpfile url_conf_file url_dir
^-- SC3043 (warning): In POSIX sh, 'local' is undefined.
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/install-package.sh line 658:
[ "$1" ] && acap_name=$1 || error "Failed to complete, missing argument acap_name"
^-- SC2015 (info): Note that A && B || C is not if-then-else. C may run when A is true.
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/install-package.sh line 659:
[ "$2" ] && dir=$2 || error "Failed to complete, missing argument dir"
^-- SC2015 (info): Note that A && B || C is not if-then-else. C may run when A is true.
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/install-package.sh line 663:
rm -f $url_conf_file 1>/dev/null 2>&
^------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
rm -f "$url_conf_file" 1>/dev/null 2>&1
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/install-package.sh line 664:
rm -f $url_conf_tmpfile 1>/dev/null 2>&
^---------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
rm -f "$url_conf_tmpfile" 1>/dev/null 2>&1
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/install-package.sh line 665:
dirs=$(find $dir -type d)
^--^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
dirs=$(find "$dir" -type d)
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/install-package.sh line 672:
url_dir=$ACAP_DOC_ROOT/$acap_name/$(basename $subdir)
^-----^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
url_dir=$ACAP_DOC_ROOT/$acap_name/$(basename "$subdir")
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/install-package.sh line 675:
$url_conf_tmpfile ||
^---------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
"$url_conf_tmpfile" ||
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/install-package.sh line 678:
gen_url_conf $url_conf_tmpfile $subdir
^---------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
^-----^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
gen_url_conf "$url_conf_tmpfile" "$subdir"
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/install-package.sh line 680:
echo "</Directory>" >> $url_conf_tmpfile ||
^---------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
echo "</Directory>" >> "$url_conf_tmpfile" ||
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/install-package.sh line 685:
fsynced_write_or_cleanup $url_conf_tmpfile $url_conf_file
^---------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
^------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
fsynced_write_or_cleanup "$url_conf_tmpfile" "$url_conf_file"
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/install-package.sh line 689:
local dir=
^-------^ SC3043 (warning): In POSIX sh, 'local' is undefined.
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/install-package.sh line 695:
[ ! -d "$BAK_DIR" ] || rm -rf $BAK_DIR
^------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
[ ! -d "$BAK_DIR" ] || rm -rf "$BAK_DIR"
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/install-package.sh line 698:
handle_eventdecl -d $INSTALLDIR/$DIRNAME/declarations -n $APPNAME -a ||
^------^ SC2086 (info): Double quote to prevent globbing and word splitting.
^------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
handle_eventdecl -d $INSTALLDIR/"$DIRNAME"/declarations -n "$APPNAME" -a ||
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/install-package.sh line 701:
mkdir -p $PKG_CONFDIR || error "Failed to mkdir -p $PKG_CONFDIR"
^----------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
mkdir -p "$PKG_CONFDIR" || error "Failed to mkdir -p $PKG_CONFDIR"
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/install-package.sh line 703:
chmod 755 $PKG_CONFDIR || error "Failed to change permissions on $PKG_CONFDIR"
^----------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
chmod 755 "$PKG_CONFDIR" || error "Failed to change permissions on $PKG_CONFDIR"
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/install-package.sh line 706:
echo ENABLED=no > $RUNSTATE_CONF.tmp || error "Failed to write to $RUNSTATE_CONF.tmp"
^------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
echo ENABLED=no > "$RUNSTATE_CONF".tmp || error "Failed to write to $RUNSTATE_CONF.tmp"
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/install-package.sh line 707:
chmod 644 $RUNSTATE_CONF.tmp || error "Failed to change permissions on $RUNSTATE_CONF.tmp"
^------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
chmod 644 "$RUNSTATE_CONF".tmp || error "Failed to change permissions on $RUNSTATE_CONF.tmp"
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/install-package.sh line 708:
fsynced_write_or_cleanup $RUNSTATE_CONF.tmp $RUNSTATE_CONF
^------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
^------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
fsynced_write_or_cleanup "$RUNSTATE_CONF".tmp "$RUNSTATE_CONF"
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/install-package.sh line 711:
chown -Rh $APPUSR:admin $INSTALLDIR/$DIRNAME ||
^------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
chown -Rh $APPUSR:admin $INSTALLDIR/"$DIRNAME" ||
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/install-package.sh line 714:
if [ "$HTTPCGIPATHS" ] || [ "$LICENSENAME" ] && [ ! -d $INSTALLDIR/$DIRNAME/html ]; then
^------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
if [ "$HTTPCGIPATHS" ] || [ "$LICENSENAME" ] && [ ! -d $INSTALLDIR/"$DIRNAME"/html ]; then
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/install-package.sh line 715:
mkdir -p $INSTALLDIR/$DIRNAME/html ||
^------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
mkdir -p $INSTALLDIR/"$DIRNAME"/html ||
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/install-package.sh line 726:
if __restore_app $INSTALLDIR/$DIRNAME $BAK_DIR; 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 __restore_app $INSTALLDIR/"$DIRNAME" "$BAK_DIR"; then
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/install-package.sh line 734:
chmod 644 $INSTALLDIR/$DIRNAME/$ADPPACKCFG || {
^------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
chmod 644 $INSTALLDIR/"$DIRNAME"/$ADPPACKCFG || {
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/install-package.sh line 750:
" $PREUPGRADE_SERVICE $1 $2 $INSTALLDIR $APPNAME > $ETC_SYSTEMD_DIR/$PREUPGRADE_SERVICE_FILENAME
^-----------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
^-- SC2086 (info): Double quote to prevent globbing and word splitting.
^-- SC2086 (info): Double quote to prevent globbing and word splitting.
^------^ SC2086 (info): Double quote to prevent globbing and word splitting.
^--------------------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
" "$PREUPGRADE_SERVICE" "$1" "$2" $INSTALLDIR "$APPNAME" > $ETC_SYSTEMD_DIR/"$PREUPGRADE_SERVICE_FILENAME"
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/install-package.sh line 755:
rm $ETC_SYSTEMD_DIR/$PREUPGRADE_SERVICE_FILENAME ||
^--------------------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
rm $ETC_SYSTEMD_DIR/"$PREUPGRADE_SERVICE_FILENAME" ||
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/install-package.sh line 765:
[ -r $1 ] || {
^-- SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
[ -r "$1" ] || {
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/install-package.sh line 772:
create_preupgrade_service $APPUSR $1
^-- SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
create_preupgrade_service $APPUSR "$1"
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/install-package.sh line 774:
systemctl start $PREUPGRADE_SERVICE >/dev/null 2>&1 || {
^-----------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
systemctl start "$PREUPGRADE_SERVICE" >/dev/null 2>&1 || {
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/install-package.sh line 776:
systemctl reset-failed $PREUPGRADE_SERVICE > /dev/null 2>&1 ||
^-----------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
systemctl reset-failed "$PREUPGRADE_SERVICE" > /dev/null 2>&1 ||
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/install-package.sh line 793:
" $POSTINSTALL_SERVICE $1 $INSTALLDIR $APPNAME $POSTINSTALLSCRIPT $INSTALLDIR $APPNAME > $ETC_SYSTEMD_DIR/$POSTINSTALL_SERVICE_FILENAME
^------------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
^-- SC2086 (info): Double quote to prevent globbing and word splitting.
^------^ SC2086 (info): Double quote to prevent globbing and word splitting.
^----------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
^------^ SC2086 (info): Double quote to prevent globbing and word splitting.
^---------------------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
" "$POSTINSTALL_SERVICE" "$1" $INSTALLDIR "$APPNAME" "$POSTINSTALLSCRIPT" $INSTALLDIR "$APPNAME" > $ETC_SYSTEMD_DIR/"$POSTINSTALL_SERVICE_FILENAME"
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/install-package.sh line 798:
rm $ETC_SYSTEMD_DIR/$POSTINSTALL_SERVICE_FILENAME ||
^---------------------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
rm $ETC_SYSTEMD_DIR/"$POSTINSTALL_SERVICE_FILENAME" ||
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/install-package.sh line 816:
systemctl --quiet status $POSTINSTALL_SERVICE >/dev/null 2>&1 ||
^------------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
systemctl --quiet status "$POSTINSTALL_SERVICE" >/dev/null 2>&1 ||
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/install-package.sh line 819:
systemctl start $POSTINSTALL_SERVICE >/dev/null 2>&1 || {
^------------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
systemctl start "$POSTINSTALL_SERVICE" >/dev/null 2>&1 || {
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/install-package.sh line 821:
systemctl reset-failed $POSTINSTALL_SERVICE > /dev/null 2>&1 ||
^------------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
systemctl reset-failed "$POSTINSTALL_SERVICE" > /dev/null 2>&1 ||
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/install-package.sh line 826:
chmod 644 $INSTALLDIR/$DIRNAME/$ADPPACKCFG || {
^------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
chmod 644 $INSTALLDIR/"$DIRNAME"/$ADPPACKCFG || {
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/install-package.sh line 833:
rm -f $ETC_TRANSFER_CONF/transfer_$APPNAME.conf
^------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
rm -f $ETC_TRANSFER_CONF/transfer_"$APPNAME".conf
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/install-package.sh line 834:
rm -f $ETC_TRANSFER_CONF/legacy_transfer_$APPNAME.conf
^------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
rm -f $ETC_TRANSFER_CONF/legacy_transfer_"$APPNAME".conf
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/install-package.sh line 835:
rm -f $ETC_MIME_CONF/legacy_mime_$APPNAME.conf
^------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
rm -f $ETC_MIME_CONF/legacy_mime_"$APPNAME".conf
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/install-package.sh line 836:
rm -rf $HTTP_VAR_RUN/$APPNAME
^--------------------^ SC2115 (warning): Use "${var:?}" to ensure this never expands to / .
^------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
rm -rf $HTTP_VAR_RUN/"$APPNAME"
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/install-package.sh line 838:
rm -f $ETC_DYN_PARAM_APP_CONF
^---------------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
rm -f "$ETC_DYN_PARAM_APP_CONF"
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/install-package.sh line 839:
rm -f $ETC_DYN_APP_CONF
^---------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
rm -f "$ETC_DYN_APP_CONF"
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/install-package.sh line 840:
$PHC deletegroup $GROUPNAME >/dev/null 2>&1 || :
^--------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
$PHC deletegroup "$GROUPNAME" >/dev/null 2>&1 || :
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/install-package.sh line 844:
rm -rf $INSTALLDIR/$DIRNAME
^------------------^ SC2115 (warning): Use "${var:?}" to ensure this never expands to / .
^------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
rm -rf $INSTALLDIR/"$DIRNAME"
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/install-package.sh line 849:
local enb=no var= val= IFS==
^------------------------^ SC3043 (warning): In POSIX sh, 'local' is undefined.
^-- SC1007 (warning): Remove space after = if trying to assign a value (for empty string, use var='' ... ).
^-- SC1007 (warning): Remove space after = if trying to assign a value (for empty string, use var='' ... ).
^-- SC1097 (error): Unexpected ==. For assignment, use =. For comparison, use [/[[. Or quote for literal string.
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/install-package.sh line 851:
if [ -r $RUNSTATE_CONF ]; then
^------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
if [ -r "$RUNSTATE_CONF" ]; then
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/install-package.sh line 852:
while read var val; do
^--^ SC2162 (info): read without -r will mangle backslashes.
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/install-package.sh line 855:
eval enb=$val
^--^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
eval enb="$val"
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/install-package.sh line 858:
$log_info "unknown runstate $var for $APPNAME"
^-------^ SC2154 (warning): log_info is referenced but not assigned.
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/install-package.sh line 861:
done < $RUNSTATE_CONF
^------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
done < "$RUNSTATE_CONF"
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/install-package.sh line 870:
[ -r $ETC_SYSTEMD_APPNAME ] || return 0
^------------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
[ -r "$ETC_SYSTEMD_APPNAME" ] || return 0
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/install-package.sh line 873:
if [ $STARTMODE != never ] && [ $enabled = yes ]; 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 [ "$STARTMODE" != never ] && [ "$enabled" = yes ]; then
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/install-package.sh line 874:
systemctl enable $SYSTEMD_SERVICE_FILENAME ||
^-----------------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
systemctl enable "$SYSTEMD_SERVICE_FILENAME" ||
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/install-package.sh line 877:
if [ $STARTMODE = never ] && [ $enabled = yes ]; 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 [ "$STARTMODE" = never ] && [ "$enabled" = yes ]; then
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/install-package.sh line 878:
echo ENABLED=no >$RUNSTATE_CONF ||
^------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
echo ENABLED=no >"$RUNSTATE_CONF" ||
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/install-package.sh line 884:
local runlevel
^------------^ SC3043 (warning): In POSIX sh, 'local' is undefined.
^------^ SC2034 (warning): runlevel appears unused. Verify use (or export if used externally).
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/install-package.sh line 888:
handle_eventdecl -d $INSTALLDIR/$DIRNAME/declarations -n $APPNAME -r
^------^ SC2086 (info): Double quote to prevent globbing and word splitting.
^------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
handle_eventdecl -d $INSTALLDIR/"$DIRNAME"/declarations -n "$APPNAME" -r
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/install-package.sh line 890:
rm -rf $WEB_DIR/$APPNAME
^---------------^ SC2115 (warning): Use "${var:?}" to ensure this never expands to / .
^------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
rm -rf $WEB_DIR/"$APPNAME"
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/install-package.sh line 893:
rm -f $ETC_INIT_D_APPNAME
^-----------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
rm -f "$ETC_INIT_D_APPNAME"
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/install-package.sh line 895:
rm -f $ETC_SYSTEMD_APPNAME
^------------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
rm -f "$ETC_SYSTEMD_APPNAME"
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/install-package.sh line 896:
rm -f $DBUS_FILE
^--------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
rm -f "$DBUS_FILE"
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/install-package.sh line 913:
run_pre_upgrade $2
^-- SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
run_pre_upgrade "$2"
For more information:
https://www.shellcheck.net/wiki/SC1087 -- Use braces when expanding arrays,...
https://www.shellcheck.net/wiki/SC1097 -- Unexpected ==. For assignment, us...
https://www.shellcheck.net/wiki/SC1007 -- Remove space after = if trying to...