archboot/hooks/arch_pxelinux
2007-09-07 17:22:10 +00:00

9 lines
279 B
Text

# Created by Tobias Powalowski <tpowa@archlinux.org>
run_hook ()
{
# activate network and mount nfs for setup
for i in $(ls /sys/class/net | grep -v lo); do
ipconfig $i && NFS="$(ipconfig $i | grep rootpath | awk -Frootpath: '{print $2}')" && nfsmount ${NFS} /src
done
}