In /logs/firmware/unblob_extracted/firmware_extract/6225984-11075644.jffs2_new_extract/etc/udhcpc.script line 7:
NET_TYPE='dhcp'
^------^ SC2034 (warning): NET_TYPE appears unused. Verify use (or export if used externally).
In /logs/firmware/unblob_extracted/firmware_extract/6225984-11075644.jffs2_new_extract/etc/udhcpc.script line 17:
/sbin/ifconfig $interface $ip $BROADCAST $NETMASK
^--------^ SC2154 (warning): interface is referenced but not assigned.
^--------^ SC2086 (info): Double quote to prevent globbing and word splitting.
^-^ SC2154 (warning): ip is referenced but not assigned.
^-^ 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:
/sbin/ifconfig "$interface" "$ip" "$BROADCAST" "$NETMASK"
In /logs/firmware/unblob_extracted/firmware_extract/6225984-11075644.jffs2_new_extract/etc/udhcpc.script line 26:
while /sbin/route del default gw 0.0.0.0 dev $interface
^--------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
while /sbin/route del default gw 0.0.0.0 dev "$interface"
In /logs/firmware/unblob_extracted/firmware_extract/6225984-11075644.jffs2_new_extract/etc/udhcpc.script line 32:
/sbin/route add default gw $i dev $interface
^-- SC2086 (info): Double quote to prevent globbing and word splitting.
^--------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
/sbin/route add default gw "$i" dev "$interface"
In /logs/firmware/unblob_extracted/firmware_extract/6225984-11075644.jffs2_new_extract/etc/udhcpc.script line 34:
/usr/bin/logger -t $TAG -p $PRIORITY "$udhcp route $interface router $router"
^----^ SC2154 (warning): udhcp is referenced but not assigned.
In /logs/firmware/unblob_extracted/firmware_extract/6225984-11075644.jffs2_new_extract/etc/udhcpc.script line 40:
echo -n > $RESOLV_CONF
^-- SC3037 (warning): In POSIX sh, echo flags are undefined.
In /logs/firmware/unblob_extracted/firmware_extract/6225984-11075644.jffs2_new_extract/etc/udhcpc.script line 41:
[ -n "$domain" ] && echo domain $domain >> $RESOLV_CONF
^-----^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
[ -n "$domain" ] && echo domain "$domain" >> $RESOLV_CONF
In /logs/firmware/unblob_extracted/firmware_extract/6225984-11075644.jffs2_new_extract/etc/udhcpc.script line 42:
for i in $dns
^--^ SC2154 (warning): dns is referenced but not assigned.
In /logs/firmware/unblob_extracted/firmware_extract/6225984-11075644.jffs2_new_extract/etc/udhcpc.script line 44:
echo adding dns $i
^-- SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
echo adding dns "$i"
In /logs/firmware/unblob_extracted/firmware_extract/6225984-11075644.jffs2_new_extract/etc/udhcpc.script line 45:
echo nameserver $i >> $RESOLV_CONF
^-- SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
echo nameserver "$i" >> $RESOLV_CONF
In /logs/firmware/unblob_extracted/firmware_extract/6225984-11075644.jffs2_new_extract/etc/udhcpc.script line 76:
/ipc/bin/networking $interface udhcpfail
^--------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
/ipc/bin/networking "$interface" udhcpfail
In /logs/firmware/unblob_extracted/firmware_extract/6225984-11075644.jffs2_new_extract/etc/udhcpc.script line 82:
/ipc/bin/networking $interface udhcpfail
^--------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
/ipc/bin/networking "$interface" udhcpfail
For more information:
https://www.shellcheck.net/wiki/SC2034 -- NET_TYPE appears unused. Verify u...
https://www.shellcheck.net/wiki/SC2154 -- dns is referenced but not assigned.
https://www.shellcheck.net/wiki/SC3037 -- In POSIX sh, echo flags are undef...