archboot/hooks/arch-pxelinux

10 lines
279 B
Text
Raw Normal View History

2007-02-22 23:46:50 +01:00
# 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
}