/etc/init/rfkill-store.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 18 | # 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
for device in /sys/class/rfkill/*; do
[ ! -d $device ] && continue
/lib/systemd/systemd-rfkill save `basename $device`
done
end script
|