mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-30 06:06:43 +00:00
amlogic: ethmactool support alternate secure-monitor node
This commit is contained in:
parent
e0471c56cb
commit
4f9a7bcdbb
@ -39,7 +39,10 @@ aml_from_efuse_gxl() {
|
||||
}
|
||||
|
||||
aml_from_cpu_sn() {
|
||||
if [ -e /sys/bus/platform/devices/firmware\:secure-monitor/serial ] ; then
|
||||
if [ -e /sys/bus/platform/devices/secure-monitor/serial ]; then
|
||||
MAC=$(cat /sys/bus/platform/devices/secure-monitor/serial 2>/dev/null | cut -b-12)
|
||||
fixup_self_mac
|
||||
elif [ -e /sys/bus/platform/devices/firmware\:secure-monitor/serial ]; then
|
||||
MAC=$(cat /sys/bus/platform/devices/firmware\:secure-monitor/serial 2>/dev/null | cut -b-12)
|
||||
fixup_self_mac
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user