Add sun8i target config.
This commit is contained in:
12
projects/sun8i-h2_domo/ovl/etc/init.d/init_sun8i-h3
Executable file
12
projects/sun8i-h2_domo/ovl/etc/init.d/init_sun8i-h3
Executable file
@@ -0,0 +1,12 @@
|
||||
#!/bin/sh /etc/rc.common
|
||||
#
|
||||
|
||||
START=11
|
||||
STOP=97
|
||||
|
||||
boot() {
|
||||
IFACE=eth0
|
||||
read MAC </sys/class/net/$IFACE/address
|
||||
echo $IFACE $MAC
|
||||
fw_setenv ethaddr $MAC
|
||||
}
|
||||
Reference in New Issue
Block a user