ar71xx: mute script error in ar922x-led-fix script
authorRosy Song <rosysong@rosinson.com>
Tue, 16 Apr 2019 01:05:14 +0000 (09:05 +0800)
committerPetr Štetiar <ynezz@true.cz>
Sun, 5 May 2019 19:11:01 +0000 (21:11 +0200)
commit3b4c44aa8b8715bef8e4f4ce63c3a24f2cb22b6c
tree264a8e611b50b582c8c4cf76f679c53cd743b3ed
parent51216b4f8343cbe0bd26f7665266c3cb81bac25f
ar71xx: mute script error in ar922x-led-fix script

This commit fixes following script error in syslog:

 cat: can't open '/sys/devices/platform/ehci-platform/usb1/1-1/1-1.2/1-1.2:1.4/ieee80211/phy*/name': No such file or directory
 sh: add: unknown operand
 sh: add: unknown operand

Signed-off-by: Rosy Song <rosysong@rosinson.com>
Signed-off-by: Petr Štetiar <ynezz@true.cz>
[commit subject and message tweaks]
target/linux/ar71xx/base-files/etc/hotplug.d/net/10-ar922x-led-fix