4 lines
99 B
Bash
Executable File

#!/bin/bash
coproc bluetoothctl
echo -e 'agent on\nconnect F8:5B:6E:2A:6A:CF\nexit' >&${COPROC[1]}