This file is indexed.

/etc/ppp/ip-up.d/000resolvconf is in openresolv 3.7.2-1.

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
#!/bin/sh
# ppp.ip-up hook script for resolvconf
# Written by Roy Marples <roy@marples.name> under the BSD-2 license

[ -x /sbin/resolvconf ] || exit 0

if [ -n "$DNS1" -o -n "$DNS2" ]; then
	conf="# Generated by ppp.ip-up for $PPP_IFACE\n"
	[ -n "$DNS1" ] && conf="${conf}nameserver $DNS1\n"
	[ -n "$DNS2" ] && conf="${conf}nameserver $DNS2\n"
	printf "$conf" | /sbin/resolvconf -a "$PPP_IFACE"
fi