summaryrefslogtreecommitdiff
path: root/debian/bt-firmware-43xx.postinst
diff options
context:
space:
mode:
Diffstat (limited to 'debian/bt-firmware-43xx.postinst')
-rw-r--r--debian/bt-firmware-43xx.postinst19
1 files changed, 19 insertions, 0 deletions
diff --git a/debian/bt-firmware-43xx.postinst b/debian/bt-firmware-43xx.postinst
new file mode 100644
index 0000000..39af43a
--- /dev/null
+++ b/debian/bt-firmware-43xx.postinst
@@ -0,0 +1,19 @@
+#!/bin/sh
+
+#######################################################################
+# Rename the script files
+mv ${SYSLAYER}/usr/etc/bluetooth/bt-dev-start.sh.broadcom ${SYSLAYER}/usr/etc/bluetooth/bt-dev-start.sh
+mv ${SYSLAYER}/usr/etc/bluetooth/bt-dev-end.sh.broadcom ${SYSLAYER}/usr/etc/bluetooth/bt-dev-end.sh
+mv /usr/etc/bluetooth/bt-set-addr.sh.broadcom /usr/etc/bluetooth/bt-set-addr.sh
+
+#BCM4330B1_002.001.003.0221.0265.hcd (U1 Commercial Firmware 2.3.5)
+# Change File Permission
+chmod 644 ${SYSLAYER}/usr/etc/bluetooth/BCM4330B1_002.001.003.0221.0265.hcd
+
+
+# root case
+if [ ${USER} = "root" ]
+then
+chown root:root ${SYSLAYER}/usr/etc/bluetooth/BCM4330B1_002.001.003.0221.0265.hcd
+
+fi