2012-04-29 18:24:22 +00:00
|
|
|
#!/bin/sh
|
|
|
|
|
2012-05-31 10:09:16 +00:00
|
|
|
path="/mnt/tftp"
|
|
|
|
|
|
|
|
global.bootm.image="${path}/${global.user}-linux-${global.hostname}"
|
2013-04-17 09:42:01 +00:00
|
|
|
|
|
|
|
oftree="${path}/${global.user}-oftree-${global.hostname}"
|
|
|
|
if [ -f "${oftree}" ]; then
|
|
|
|
global.bootm.oftree="$oftree"
|
|
|
|
fi
|
|
|
|
|
2012-04-29 18:24:22 +00:00
|
|
|
nfsroot="/home/${global.user}/nfsroot/${global.hostname}"
|
|
|
|
bootargs-ip
|
2012-11-01 12:58:47 +00:00
|
|
|
global.linux.bootargs.dyn.root="root=/dev/nfs nfsroot=$nfsroot,v3,tcp"
|