summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bluez-utils/bluez-utils_2.9.oe5
-rw-r--r--gpe-bluetooth/gpe-bluetooth_0.36.3.oe3
2 files changed, 7 insertions, 1 deletions
diff --git a/bluez-utils/bluez-utils_2.9.oe b/bluez-utils/bluez-utils_2.9.oe
index d9aad1285d..1ab710f6e0 100644
--- a/bluez-utils/bluez-utils_2.9.oe
+++ b/bluez-utils/bluez-utils_2.9.oe
@@ -13,3 +13,8 @@ inherit autotools update-rc.d
INITSCRIPT_NAME = "bluetooth"
INITSCRIPT_PARAMS = "defaults"
+
+pgk_postinst() {
+#!/bin/sh
+chmod u+s /sbin/hciattach /sbin/hciconfig
+}
diff --git a/gpe-bluetooth/gpe-bluetooth_0.36.3.oe b/gpe-bluetooth/gpe-bluetooth_0.36.3.oe
index 2764d71575..e22d2233ed 100644
--- a/gpe-bluetooth/gpe-bluetooth_0.36.3.oe
+++ b/gpe-bluetooth/gpe-bluetooth_0.36.3.oe
@@ -13,5 +13,6 @@ FILES_${PN} += '${datadir}/bluez-pin'
SRC_URI = "${GPE_MIRROR}/gpe-bluetooth-${PV}.tar.gz"
pkg_postinst() {
- chmod u+s /sbin/hciattach /sbin/hciconfig /usr/lib/gpe-bluetooth/bnep-helper /usr/lib/gpe-bluetooth/rfcomm-helper
+#!/bin/sh
+chmod u+s /sbin/hciattach /sbin/hciconfig /usr/lib/gpe-bluetooth/bnep-helper /usr/lib/gpe-bluetooth/rfcomm-helper
}