4 trap 'echo "$0:$LINENO:error: \"$BASH_COMMAND\" returned $?" >&2' ERR
6 x
=$
(readlink
-f "$BASH_SOURCE"); cd ${x%/*}
10 usage: ${0##*/} [-h|--help] [hostname|ip]
12 Sets up tftp pxe config and nfs config on host "faiserver". Argument
13 sets the host to enable it for. No argument disables pxe config for all
14 hosts, but leaves nfs server alone. Use faiserver-disable to disable
24 host=$
(chost faiserver
)
25 ssh root@
$host bash
-s "$@" <myfai-chboot-local