13 lines
215 B
Bash
Executable file
13 lines
215 B
Bash
Executable file
#!/bin/sh
|
|
|
|
if [ $(bluetoothctl show | grep "Powered: yes" | wc -c) -eq 0 ]
|
|
then
|
|
echo ""
|
|
else
|
|
if [ $(echo info | bluetoothctl | grep 'Device' | wc -c) -eq 0 ]
|
|
then
|
|
echo ""
|
|
else
|
|
echo " "
|
|
fi
|
|
fi
|