mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-03-09 15:40:03 +00:00
Changes for RUTX support on 6.1 kernel
This commit is contained in:
parent
cd69bc6454
commit
84f0cf5782
2 changed files with 7 additions and 2 deletions
|
@ -6,7 +6,7 @@
|
|||
#
|
||||
# This script set lights on RUTX device
|
||||
|
||||
if [ -n "$(grep RUTX /etc/board.json)" ] && [ -n "$OMR_TRACKER_DEVICE" ]; then
|
||||
if [ -n "$(grep RUTX /etc/board.json)" ] && [ -z "$(grep RUTX50 /etc/board.json)" ] && [ -n "$OMR_TRACKER_DEVICE" ]; then
|
||||
if [ "$OMR_TRACKER_DEVICE" = "wwan0" ]; then
|
||||
modemdata=$(omr-modemmanager '/sys/devices/platform/soc/60f8800.usb2/6000000.dwc3/xhci-hcd.1.auto/usb3/3-1' all)
|
||||
gen=$(echo $modemdata | cut -d ';' -f 5 | tr -d '\n')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue