projects
/
openwrt.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
ar71xx: add AR934X_RESET_REG_PCIE_WMAC_INT_STATUS defines
[openwrt.git]
/
target
/
linux
/
ep93xx
/
base-files
/
lib
/
preinit
/
05_set_ether_mac_rdc
1
#!/bin/sh
2
# Copyright (C) 2010 OpenWrt.org
3
4
.
/
lib
/
function
s
/
boot.sh
5
6
set_ether_mac
() {
7
mac
=
$
(
sed
-n
's/^Serial.* 000000/02/p'
/
proc
/
cpuinfo
)
8
ifconfig eth0 hw ether
$mac
9
}
10
11
boot_hook_add preinit_main set_ether_mac
12
This page took
0.047625 seconds
and
5
git commands to generate.