mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-21 20:40:38 +02:00
9 lines
279 B
Text
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
|
|
}
|