Updated readme and fixed SmartPing.sh
Removed unset command for parameter, since this broke the script
This commit is contained in:
@@ -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.
|
||||
* Set `AutoEnable` to `true` under Policy in `/etc/bluetooth/main.conf`.
|
||||
* Then run `lbu commit` and reboot.
|
||||
@@ -14,7 +14,6 @@
|
||||
|
||||
. $( dirname "$0" )/../config/SmartPing_"$1".cfg
|
||||
. $( dirname "$0" )/../config/Pinger.cfg
|
||||
unset $1
|
||||
|
||||
#Default disable log
|
||||
: ${LogFile:="/dev/null"}
|
||||
|
||||
Reference in New Issue
Block a user