PN: pi-bluetooth
PV: 0.1.17
PR: r0
PKGV: 0.1.17
PKGR: r0.4
LICENSE: BSD-3-Clause
DESCRIPTION: Script to properly configure BT-HCI on Raspberry Pi.
SUMMARY: Script to properly configure BT-HCI on Raspberry Pi
RDEPENDS:pi-bluetooth: udev-rules-rpi
SECTION: kernel
PKG:pi-bluetooth: pi-bluetooth
FILES:pi-bluetooth:     /usr/bin     /etc     /usr/lib/systemd/system  /usr/lib/systemd/system-preset/98-pi-bluetooth.preset /usr/lib/systemd/system/hciuart.service /usr/lib/systemd/system/bthelper@.service
FILES_INFO:pi-bluetooth: {"/etc/udev/rules.d/90-pi-bluetooth.rules": 201, "/usr/bin/bthelper": 1434, "/usr/bin/btuart": 1010, "/usr/lib/systemd/system-preset/98-pi-bluetooth.preset": 48, "/usr/lib/systemd/system/bthelper@.service": 214, "/usr/lib/systemd/system/hciuart.service": 253}
pkg_postinst:pi-bluetooth: #!/bin/sh\nset -e\nif systemctl >/dev/null 2>/dev/null; then\n\tOPTS=""\n\n\tif [ -n "$D" ]; then\n\t\tOPTS="--root=$D"\n\tfi\n\n\tif [ "enable" = "enable" ]; then\n\t\tfor service in hciuart.service bthelper@.service; do\n\t\t\tsystemctl ${OPTS} enable "$service"\n\t\tdone\n\tfi\n\n\tif [ -z "$D" ]; then\n\t\tsystemctl daemon-reload\n\t\tsystemctl preset hciuart.service bthelper@.service\n\n\t\tif [ "enable" = "enable" ]; then\n\t\t\tsystemctl --no-block restart hciuart.service bthelper@.service\n\t\tfi\n\tfi\nfi\n
pkg_prerm:pi-bluetooth: #!/bin/sh\nset -e\nif systemctl >/dev/null 2>/dev/null; then\n\tif [ -z "$D" ]; then\n\t\tsystemctl stop hciuart.service bthelper@.service\n\n\t\tsystemctl disable hciuart.service bthelper@.service\n\tfi\nfi\n
FILERDEPENDSFLIST:pi-bluetooth: /usr/bin/bthelper /usr/bin/btuart
FILERDEPENDS:/usr/bin/bthelper:pi-bluetooth:  /bin/sh
FILERDEPENDS:/usr/bin/btuart:pi-bluetooth:  /bin/sh
PKGSIZE:pi-bluetooth: 3160
