This file is indexed.

/etc/acpi/tosh-wireless.sh is in acpi-support 0.142.

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
#!/bin/sh

test -f /usr/share/acpi-support/key-constants || exit 0

. /usr/share/acpi-support/state-funcs

if isAnyWirelessPoweredOn; then
    if [ -x /usr/bin/toshset ]; then
        if `toshset -bluetooth | grep -q attached`; then
                toshset -bluetooth off
                toggleAllWirelessStates
        else
                toshset -bluetooth on
        fi
    else
	toggleAllWirelessStates
    fi
else
        toggleAllWirelessStates
fi