/etc/init/urfkill.conf is in urfkill 0.6.0~20150318.103828.5539c0d.1-0ubuntu6.
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 24 25 | # urfkill - killswitch manager
#
# This daemon manages the states of various radios on the system, such as
# for WiFi, Bluetooth, Cellular, FM, etc. and can properly handle input events
# to toggle these radios on devices that have such input keys.
description "killswitch manager"
start on started udev and started dbus
stop on stopping dbus
respawn
script
# If this is a touch device we wait for Android property system to be up.
# Also, we have made sure in the system image that if urfkill.hybris.wlan
# exists, it has been set before wifi.interface (this last one exists for
# all devices, so we should eventually get out of the loop).
if [ -f /usr/bin/getprop ]
then
while [ -z "$(getprop wifi.interface)" ]; do sleep 0.2; done
fi
exec /usr/lib/x86_64-linux-gnu/urfkill/urfkilld
end script
|