install.py 154 B

123456789101112
  1. from subprocess import run
  2. def install(args):
  3. CMD='''
  4. sudo bluetoothctl <<EOF
  5. power on
  6. discoverable on
  7. pairable on
  8. EOF
  9. '''
  10. run(CMD, shell=True)