Commit 7393411a authored by Tails developers's avatar Tails developers

On boot, unblock bluetooth, wifi, wwan and wimax; block every other type of wireless device.

The ticket says to leave Bluetooth alone, but if we do that and it's disabled by
default by the firmware or whatever, then it would have no chance to get
connected devices, and then the design we decided for
todo/protect_against_external_bus_memory_forensics could not be implemented for
this protocol. So, we unblock it.
parent 0aefcf81
......@@ -8,6 +8,7 @@ tails-kexec
tails-reconfigure-kexec
tails-reconfigure-memlockd
tails-sdmem-on-media-removal
tails-set-wireless-devices-state
"
PATCHED_INITSCRIPTS="
......
#! /bin/sh
### BEGIN INIT INFO
# Provides: tails-set-wireless-devices-state
# Required-Start: mountkernfs $local_fs udev
# Required-Stop:
# Default-Start: 2 3 4 5
# Default-Stop:
# Short-Description: Set proper default state on wireless devices
# Description: Set proper default state on wireless devices
### END INIT INFO
case "$1" in
start)
/usr/local/sbin/tails-set-wireless-devices-state &
;;
*)
echo "Usage: $0 start" >&2
exit 3
;;
esac
exit 0
#!/bin/sh
set -e
[ -e /dev/rfkill ] || exit 0
rfkill block all
for devtype in bluetooth wifi wwan wimax ; do
rfkill unblock "$devtype"
done
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment