-ssh root@$(chost faiserver) bash <<'EOF'
-if modprobe nfsd &>/dev/null; then
- sed -ri --follow-symlinks '\%^/srv/fai/d' /etc/exports
- exportfs -ra
+
+
+faiserver_addr=$(host faiserver.b8.nz | sed -rn 's/^\S+ has address //p;T;q' ||:)
+if ip a | grep "^ *inet.\? $faiserver_addr" &>/dev/null; then
+ echo "$0: disabling fai nfs exports or apache site"
+ ./faiserver-disable-local