rfkilld

An rfkill daemon, which runs scripts according to rfkill events.
git clone git://r-36.net/rfkilld
Log | Files | Refs | README | LICENSE

bluetooth.sh (99B)


      1 #!/bin/sh
      2 
      3 case $1 in
      4 	0|2)
      5 		;;
      6 	1)
      7 		rfkill block bluetooth
      8 		;;
      9 	*)
     10 		exit 1
     11 		;;
     12 esac
     13 
     14 exit 0
     15