/usr/lib/fai/get-config-dir-file is in fai-client 5.3.6ubuntu1.
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 7 8 9 10 11 | #!/bin/bash
### BEGIN SUBROUTINE INFO
# Provides-Var:
# Requires-Var: $FAI_CONFIG_SRC
# Suggests-Var:
# Short-Description: get $FAI by local path
### END SUBROUTINE INFO
localpath=$(expr match "$FAI_CONFIG_SRC" '.*://\(/.*\)')
echo "Using local path $localpath as config space."
|