dashboard
repositories
activity
search
login
ljy
/
RK3588_XEN
forked from
~ljy/RK3588_XEN
summary
commits
tree
docs
forks
compare
blame
|
history
|
raw
init
hc
2024-03-22
a0752693d998599af469473b8dc239ef973a012f
[~ljy/RK3588_XEN.git]
/
kernel
/
drivers
/
net
/
wireless
/
rockchip_wlan
/
ssv6xxx
/
script
/
get_mac
1
2
3
4
5
6
7
8
9
10
#!/bin/sh
if [ $# != 1 ]; then
interface=eth0
else
interface=$1
fi
mac=`ifconfig $interface | grep HWaddr | sed -e 's/.*HWaddr //g' | sed -e 's/ //g'`
echo $mac