4 trap 'echo "$0:$LINENO:error: \"$BASH_COMMAND\" returned $?" >&2' ERR
6 [[ $EUID == 0 ]] ||
exec sudo
-E "${BASH_SOURCE[0]}" "$@"
11 Disable the fai nfs server exports
21 if modprobe nfsd
&>/dev
/null
; then
22 sed -ri --follow-symlinks '\%^/srv/fai/%d' /etc
/exports
25 rm -f /etc
/apache
2/sites-enabled
/faiserver.conf
26 systemctl reload apache2