Simplify bluetoothctl command
authorSiraaj Khandkar <siraaj@khandkar.net>
Thu, 7 Feb 2019 21:15:11 +0000 (16:15 -0500)
committerSiraaj Khandkar <siraaj@khandkar.net>
Thu, 7 Feb 2019 21:15:11 +0000 (16:15 -0500)
x2/src/bash/exe/khatus_sensor_bluetooth_power.sh

index f051e71..83c3dbb 100644 (file)
@@ -4,4 +4,4 @@ set -e
 
 dir_bin="$1"
 
-echo 'show \n quit' | bluetoothctl | "$dir_bin"/khatus_parse_bluetoothctl_show
+bluetoothctl -- show | "$dir_bin"/khatus_parse_bluetoothctl_show
This page took 0.016553 seconds and 4 git commands to generate.