summaryrefslogtreecommitdiff
path: root/source/ap/pm-utils/49bluetooth-generic
blob: e62790e7719e6a8dd796501dcc2c43338780d487 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/sh

. "${PM_FUNCTIONS}"

case "$1" in
  hibernate|suspend)
    rfkill block bluetooth
   ;;
  thaw|resume)
    rfkill unblock bluetooth
    ;;
  *)
    ;;
esac