This file is indexed.

/etc/wlan/wlan-udev.sh 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
25
26
27
28
29
30
31
32
33
34
35
#! /bin/bash


# script to start prism2 wlan for fedora FC5 udev 
#udev rule
#ACTION=="add",BUS=="usb",DRIVER=="prism2_usb",RUN+="/etc/wlan/wlan-udev.sh %k"

# 01-01-2007 (rsk) add check for wlan_wext_write
# 31-01-2007 (rsk) get the check right this time :)

# ifupdown udev rules or network-manager take care of configuration,
# only enable the card here (which also loads RAM firmware)

WEXT_PARAM=/sys/module/p80211/parameters/wlan_wext_write

DEVICE=$1
WLAN_UDEV=1

. /etc/wlan/shared

if [ -f $WEXT_PARAM ]; then
    WLAN_WEXT=`cat $WEXT_PARAM`
fi

wlan_enable $DEVICE

if [ $WLAN_WEXT = 1 ]; then
	# set encrypt on card not host
	result=`$WLANCTL $DEVICE lnxreq_hostwep decrypt="false" encrypt="false"`
	if [ $? != 0 ]; then
	    echo "Cannot enable wep $result"
	    exit 1
	fi
fi
exit 0