This file is indexed.

/etc/init/rfkill-store.conf is in rfkill 0.5-1ubuntu1.

This file is owned by root:root, with mode 0o644.

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
# rfkill-store - store software RF kill switch state

description	"store software rfkill state"

start on runlevel [016]

task

script
    if [ ! -d /sys/class/rfkill ]; then
        exit 0
    fi

    mkdir -p /var/lib/rfkill
    > /var/lib/rfkill/saved-state

    for device in /sys/class/rfkill/*; do
        [ ! -d $device ] && continue

        entry="$(cat $device/name) $(cat $device/soft)"
        echo $entry >> /var/lib/rfkill/saved-state
    done
end script