diff --git a/README.md b/README.md index f999c41..4d941c8 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ General requirements: `fping bluez`. Requirements Domoticz communication: `curl`. Requirements mqtt communication: `mosquitto-clients`. Expected installation directory `/opt/Pinger`. -Setup permissions using `chmod +x /opt/Pinger/bin/*`.A +Setup permissions using `chmod +x /opt/Pinger/bin/*` Add Pinger to lbu using `lbu include /opt/Pinger` ## Configuration @@ -17,5 +17,5 @@ Source: https://wiki.alpinelinux.org/wiki/Raspberry_Pi_3_-_Setting_Up_Bluetooth * By default the UART Bluetooth controller is not automatically discovered, enable it by uncommenting the line after `rpi bluetooth` in `/etc/mdev.conf`. * Enable the bluetooth service on boot `rc-update add bluetooth`. -* Set `AutoEnable` to `true` under Policy in /etc/bluetooth/main.conf. -* Then run'lbu commit' and reboot. \ No newline at end of file +* Set `AutoEnable` to `true` under Policy in `/etc/bluetooth/main.conf`. +* Then run `lbu commit` and reboot. \ No newline at end of file diff --git a/bin/SmartPing.sh b/bin/SmartPing.sh index b75086f..2265a83 100755 --- a/bin/SmartPing.sh +++ b/bin/SmartPing.sh @@ -14,7 +14,6 @@ . $( dirname "$0" )/../config/SmartPing_"$1".cfg . $( dirname "$0" )/../config/Pinger.cfg -unset $1 #Default disable log : ${LogFile:="/dev/null"}