This file is indexed.

/usr/lib/xcp/bin/xe-networkd is in xcp-xapi 1.3.2-5.

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
19
20
21
22
23
24
25
#!/bin/bash

if [ $# -ne 1 ] ; then
	echo "Need 'on' or 'off'..."
	exit 1
fi

TMP_FILE=/tmp/do-not-use-networkd

case $1 in
	on)
		chkconfig --add xcp-networkd
		chkconfig --del management-interface
		[ -e $TMP_FILE ] && rm $TMP_FILE
		;;
	off)
		chkconfig --add management-interface
		chkconfig --del xcp-networkd
		touch $TMP_FILE
		;;
	*)
		echo "Expected 'on' or 'off'"
		exit 1
		;;
esac