mirror of
https://dev.iopsys.eu/feed/iopsys.git
synced 2026-02-18 10:11:20 +01:00
inteno-netmodes: use correct command to define MTK
This commit is contained in:
parent
aa36791efd
commit
c3daa7416b
1 changed files with 1 additions and 1 deletions
|
|
@ -9,7 +9,7 @@ SWITCHMODELOCK="/tmp/switching_mode"
|
|||
MODEDIR=$(uci -q get netmode.setup.dir)
|
||||
MTK=0
|
||||
|
||||
opkg find kmod-mt*mtk >/dev/null && MTK=1
|
||||
opkg list-installed | grep -q kmod-mt.*mtk && MTK=1
|
||||
|
||||
[ -n "$MODEDIR" ] || MODEDIR="/etc/netmodes"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue