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:"