mirror of
https://github.com/node-red/node-red-nodes.git
synced 2023-10-10 13:36:58 +02:00
7 lines
181 B
Bash
Executable File
7 lines
181 B
Bash
Executable File
#!/bin/bash
|
|
if grep -q ARM /proc/cpuinfo
|
|
then
|
|
sudo apt-get install libbluetooth-dev libudev-dev pi-bluetooth
|
|
sudo setcap cap_net_raw+eip $(eval readlink -f `which node`)
|
|
fi
|