2
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2025-12-21 21:33:02 +01:00

fix ibeacon

This commit is contained in:
kev
2017-05-01 15:36:51 +08:00
parent aebb69004d
commit 3b8e681a73
2 changed files with 2 additions and 2 deletions

View File

@@ -21,5 +21,5 @@ start() {
stop() { stop() {
/usr/bin/hciconfig hci0 noleadv /usr/bin/hciconfig hci0 noleadv
/usr/bin/hciconfig hci0 down #/usr/bin/hciconfig hci0 down
} }

View File

@@ -19,7 +19,7 @@ ExecStart=/usr/bin/hcitool -i hci0 cmd 0x08 0x000a 01
# See: http://stackoverflow.com/questions/21124993/ # See: http://stackoverflow.com/questions/21124993/
# ExecStart=/bin/hciconfig hci0 leadv 3 # ExecStart=/bin/hciconfig hci0 leadv 3
ExecStop=/bin/hciconfig hci0 noleadv ExecStop=/bin/hciconfig hci0 noleadv
ExecStop=/bin/hciconfig hci0 down #ExecStop=/bin/hciconfig hci0 down
RemainAfterExit=yes RemainAfterExit=yes
[Install] [Install]