feat: Ajout support ble.sh installé depuis Nix

This commit is contained in:
Xavier Logerais 2024-06-21 13:23:29 +00:00
parent 167be1c6a1
commit 2140f57862

9
rc.d/blesh Normal file
View File

@ -0,0 +1,9 @@
#!/bin/bash
# ble.sh () installed from nix
if (command -v blesh-share &>/dev/null); then
source "$(blesh-share)"/ble.sh --attach=none # does not work currently
# ...
[[ ${BLE_VERSION-} ]] && ble-attach
# source "$(blesh-share)"/ble.sh
fi