mirror of
https://github.com/coolsnowwolf/lede.git
synced 2025-04-16 04:13:31 +00:00
autocore-arm: disable wireless port info show
This commit is contained in:
parent
7901118997
commit
86eb0f2e34
@ -1,5 +1,5 @@
|
||||
#
|
||||
# Copyright (C) 2010-2011 OpenWrt.org
|
||||
# Copyright (C) 2010-2022 OpenWrt.org
|
||||
#
|
||||
# This is free software, licensed under the GNU General Public License v2.
|
||||
# See /LICENSE for more information.
|
||||
|
@ -1,6 +1,6 @@
|
||||
#!/bin/sh
|
||||
|
||||
a=$(ls /sys/class/net/*/device/uevent | awk -F '/' '{print $5}')
|
||||
a=$(ls /sys/class/net/*/device/uevent | grep eth | awk -F '/' '{print $5}')
|
||||
b=$(echo "$a" | wc -l)
|
||||
rm -f /tmp/state/ethinfo
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user