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