summaryrefslogtreecommitdiffstats
path: root/defaultenv/defaultenv-2-base/network/eth0
blob: 33fe7c1b2b48ec300f3cc8930523ef1f43cdc043 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/sh

# ip setting (static/dhcp)
ip=dhcp
global.dhcp.vendor_id=barebox-${global.hostname}

# static setup used if ip=static
ipaddr=
netmask=
gateway=
serverip=

# MAC address if needed
#ethaddr=xx:xx:xx:xx:xx:xx

# put code to discover eth0 (i.e. 'usb') to /env/network/eth0-discover

exit 0