This file is indexed.

/etc/network/if-post-down.d/linux-wlan-ng-post-down is in linux-wlan-ng 0.2.9+dfsg-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
#!/bin/sh
#
# This script takes care of bringing down wlan-ng devices.
# It is run by ifdown.

WLANCTL=/sbin/wlanctl-ng

if [ ! -x $WLANCTL ] ; then 
	exit 0
fi

case $IFACE in
wlan?)
	# Reset device to make sure it is not trying to generate
	# interrupts.
	# Do not disable card if wireless extensions are in use
	WEXT=`cat /sys/module/p80211/parameters/wlan_wext_write`
	[ "$WEXT" = "0" ] &&
	    result=`$WLANCTL $IFACE lnxreq_ifstate ifstate=disable`

	# Remove lock file, just in case.
	rm -f /var/lock/wlan-$IFACE.lock
;;
esac