summaryrefslogtreecommitdiff
path: root/scripts/nfs
blob: 9860ea7ea382afd80eb0e9cc4b51833556d6b9aa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19

# Paramter: Where the root should be mounted
mountroot ()
{
	run_scripts /scripts/nfs-top

	ipconfig ${DEVICE}
	. /tmp/net-${DEVICE}.conf
	if [ "x${NFSROOT}" = "xauto" ]; then
		NFSROOT=${ROOTSERVER}:${ROOTPATH}
	fi

	run_scripts /scripts/nfs-premount

	nfsmount ${NFSROOT} ${rootmnt}

	run_scripts /scripts/nfs-bottom

}