Fix shellcheck warnings (#1003)

* Use double quote to prevent globbing and exit with error in case
  directory doesn't exit in hassos-hook.sh

* echo flags are undefined in POSIX, use bash instead in
  bluetooth-rtl8723
This commit is contained in:
Stefan Agner
2020-11-17 20:06:03 +01:00
committed by GitHub
parent 8d448a130c
commit 52e21c9ccf
2 changed files with 3 additions and 3 deletions

View File

@@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash
echo "Setup the Bluetooth chip"
echo 146 > /sys/class/gpio/export