From 3b8e681a737788a2a5a1dccc263103c4c63db0ac Mon Sep 17 00:00:00 2001 From: kev Date: Mon, 1 May 2017 15:36:51 +0800 Subject: [PATCH] fix ibeacon --- hass/arm/ibeacon.init | 2 +- hass/arm/ibeacon.service | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/hass/arm/ibeacon.init b/hass/arm/ibeacon.init index ab57f52..7885512 100644 --- a/hass/arm/ibeacon.init +++ b/hass/arm/ibeacon.init @@ -21,5 +21,5 @@ start() { stop() { /usr/bin/hciconfig hci0 noleadv - /usr/bin/hciconfig hci0 down + #/usr/bin/hciconfig hci0 down } diff --git a/hass/arm/ibeacon.service b/hass/arm/ibeacon.service index abe33f8..70e5364 100644 --- a/hass/arm/ibeacon.service +++ b/hass/arm/ibeacon.service @@ -19,7 +19,7 @@ ExecStart=/usr/bin/hcitool -i hci0 cmd 0x08 0x000a 01 # See: http://stackoverflow.com/questions/21124993/ # ExecStart=/bin/hciconfig hci0 leadv 3 ExecStop=/bin/hciconfig hci0 noleadv -ExecStop=/bin/hciconfig hci0 down +#ExecStop=/bin/hciconfig hci0 down RemainAfterExit=yes [Install]