lgq
2025-07-16 6cdf7cc83f02f12f79372797ce76bdc7e8fdc262
1
2
3
4
5
6
7
8
#!/bin/sh
sn=`sn`
mac=0A:84:7F:
 
mac=$mac`echo ${sn:8:2}`":"
mac=$mac`echo ${sn:10:2}`":"
mac=$mac`echo ${sn:12:2}`
echo "mac: $mac"