summaryrefslogtreecommitdiffstats
path: root/defaultenv-2/base/boot/net
blob: 2684c20a6cb6d101f74eeb91b068cd68519a57b4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh

if [ "$1" = menu ]; then
	boot-menu-add-entry "$0" "network (tftp, nfs)"
	exit
fi

global.bootm.image="${global.tftp.path}/${global.user}-linux-${global.hostname}"
#global.bootm.oftree="${global.tftp.path}/${global.user}-oftree-${global.hostname}"
nfsroot="/home/${global.user}/nfsroot/${global.hostname}"
bootargs-ip
bootargs-root-nfs -n "$nfsroot"