node-red-nodes/hardware/sensorTag/scripts/pibt.sh

4 lines
137 B
Bash
Executable File

#!/bin/bash
#sudo apt-get install libbluetooth-dev libudev-dev pi-bluetooth
sudo setcap cap_net_raw+eip $(eval readlink -f `which node`)