diff --git a/rc.d/blesh b/rc.d/blesh new file mode 100644 index 0000000..00e1afa --- /dev/null +++ b/rc.d/blesh @@ -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