i have a board based on i.MX6Q processor. while testing i got log as shown below.
cat: can't open '/sys/devices/platform/enet.0/net/eth0/operstate': No such file or directory
/root/ethernet.sh: line 9: [: ==: unary operator expected
cat: can't open '/sys/devices/platform/enet.0/net/eth0/operstate': No such file or directory
/root/ethernet.sh: line 9: [: ==: unary operator expected
cat: can't open '/sys/devices/platform/enet.0/net/eth0/operstate': No such file or directory
/root/ethernet.sh: line 9: [: ==: unary operator expected
cat: can't open '/sys/devices/platform/enet.0/net/eth0/operstate': No such file or directory
/root/ethernet.sh: line 9: [: ==: unary operator expected
cat: can't open '/sys/devices/platform/enet.0/net/eth0/operstate': No such file or directory
/root/ethernet.sh: line 9: [: ==: unary operator expected
cat: can't open '/sys/devices/platform/enet.0/net/eth0/operstate': No such file or directory
/root/ethernet.sh: line 9: [: ==: unary operator expected
cat: can't open '/sys/devices/platform/enet.0/net/eth0/operstate': No such file or directory
/root/ethernet.sh: line 9: [: ==: unary operator expected
i suspect issue is related to the ethernet.
Please suggest the solution