Skip to content

Commit

Permalink
no error msg when BLE node not active
Browse files Browse the repository at this point in the history
  • Loading branch information
hilschernetpi committed Sep 30, 2019
1 parent f795334 commit 248726d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions init.d/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ if [[ -e "/dev/ttyAMA0" ]] && [[ -e "/dev/vcio" ]]; then
pidbt="$!"

else
rm /usr/lib/node_modules/node-red-contrib-generic-ble
rm -f /usr/lib/node_modules/node-red-contrib-generic-ble
fi

#check fieldbus node support
Expand All @@ -141,7 +141,7 @@ if [[ -e "/dev/spidev0.0" ]]; then
cd /usr/lib/node_modules_tmp/WebConfigurator/ServerContent/
node app.js &
else
rm /usr/lib/node_modules/fieldbus
rm -f /usr/lib/node_modules/fieldbus
fi

# start Node-RED as background task
Expand Down

0 comments on commit 248726d

Please sign in to comment.