/usr/sbin/ldap2fai-loc is in goto-fai 3.1-1.2.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 | #!/bin/sh
if [ -d "$FAI" ]; then
ldap2fai -v -d $FAI $(ifconfig | grep "eth0" | awk '{ print $5; }')
else
echo "No \$FAI found - aborted"
fi
|