summaryrefslogtreecommitdiff
path: root/scripts/nfs
blob: d0f1600d3d96b8eaad8e2a77bf5b501aeb7333b9 (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

}