14 lines
344 B
Plaintext
14 lines
344 B
Plaintext
|
#!/bin/sh
|
||
|
|
||
|
ethact eth0
|
||
|
|
||
|
path="/mnt/tftp"
|
||
|
|
||
|
. /env/data/oftree
|
||
|
|
||
|
global.bootm.image="${path}/${global.user}-linux-${global.hostname}"
|
||
|
#global.bootm.oftree="${path}/${global.user}-oftree-${global.hostname}"
|
||
|
nfsroot="/home/${global.user}/nfsroot/${global.hostname}"
|
||
|
bootargs-ip
|
||
|
global.linux.bootargs.dyn.root="root=/dev/nfs nfsroot=$nfsroot,v3,tcp"
|