tails-set-wireless-devices-state 147 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11
#!/bin/sh

set -e

[ -e /dev/rfkill ] || exit 0

rfkill block all

for devtype in bluetooth wifi wwan wimax ; do
   rfkill unblock "$devtype"
done