This file is indexed.

/usr/lib/fai/create_resolv_conf is in fai-nfsroot 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
16
17
18
#! /bin/sh

### BEGIN SUBROUTINE INFO
# Provides-Var:    $DNSSRVS $DOMAIN
# Requires-Var:    none
# Short-Description: <task desc.>
### END SUBROUTINE INFO

# create a resolv.conf using the DHCP or BOOTP information
if [ "$DNSSRVS" ]; then
	[ "$DOMAIN" ] && echo "domain $DOMAIN" >/etc/resolv.conf
	for dnshost in $DNSSRVS ; do
	    echo "nameserver $dnshost" >>/etc/resolv.conf
	done
else
    # use the resolv.conf from the installserver
    cp -p /etc/resolv.conf-installserver /etc/resolv.conf
fi