From: Siraaj Khandkar Date: Thu, 7 Feb 2019 21:15:11 +0000 (-0500) Subject: Simplify bluetoothctl command X-Git-Url: https://git.xandkar.net/?p=khatus.git;a=commitdiff_plain;h=6a83d9988a439db085b0bc1784a831a2ff221df8 Simplify bluetoothctl command --- diff --git a/x2/src/bash/exe/khatus_sensor_bluetooth_power.sh b/x2/src/bash/exe/khatus_sensor_bluetooth_power.sh index f051e71..83c3dbb 100644 --- a/x2/src/bash/exe/khatus_sensor_bluetooth_power.sh +++ b/x2/src/bash/exe/khatus_sensor_bluetooth_power.sh @@ -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