This file is indexed.

/usr/lib/fai/get-config-dir-nfs is in fai-client 3.4.8ubuntu5.

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
12
13
14
15
#!/bin/bash

### BEGIN SUBROUTINE INFO
# Provides-Var:
# Requires-Var:    $FAI_CONFIG_SRC $FAI
# Suggests-Var:    $romountopt
# Short-Description: get $FAI by mounting it via nfs
### END SUBROUTINE INFO

server=$(expr match "$FAI_CONFIG_SRC" '.*://\([^/]*\)/.*')
nfspath=$(expr match "$FAI_CONFIG_SRC" '.*://[^/]*\(/.*\)')

mount $romountopt $server:$nfspath $FAI &&
  echo "Configuration space $server:$nfspath mounted to $FAI"
task_error 701 $?