summaryrefslogtreecommitdiffstats
path: root/defaultenv-2/base/bin/bootargs-ip-barebox
blob: 986c14228691edb557dd07ae13188abb65e34364 (plain)
1
2
3
4
5
6
7
#!/bin/sh

# pass barebox ip settings for eth0 to Linux

ifup eth0

global.linux.bootargs.ip="ip=$eth0.ipaddr:$eth0.serverip:$eth0.gateway:$eth0.netmask::eth0:"