/etc/init/rfkill-restore.conf is in rfkill 0.5-1ubuntu3.
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 | # rfkill-restore - restore software RF kill switch state
description "restore software rfkill state"
start on local-filesystems
task
script
if [ ! -d /sys/class/rfkill ]; then
exit 0
fi
for device in /sys/class/rfkill/*; do
[ ! -d $device ] && continue
/lib/systemd/systemd-rfkill load `basename $device`
done
end script
|