summaryrefslogtreecommitdiff
path: root/debian/bt-firmware-43xx.postinst
blob: 39af43a89605c94c3f3660df705afbdec54c1475 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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