##// END OF EJS Templates
a
Unknown -
r476:824d03f1dd13
parent child
Show More
@@ -127,8 +127,9 if [ "$RPI_MODEL" = 0 ] || [ "$RPI_MODEL" = 3 ] || [ "$RPI_MODEL" = 3P ] ; then
127 install_readonly "${R}/tmp/pi-bluetooth/debian/pi-bluetooth.bthelper@.service" "${ETC_DIR}/systemd/system/pi-bluetooth.bthelper@.service"
127 install_readonly "${R}/tmp/pi-bluetooth/debian/pi-bluetooth.bthelper@.service" "${ETC_DIR}/systemd/system/pi-bluetooth.bthelper@.service"
128 install_readonly "${R}/tmp/pi-bluetooth/debian/pi-bluetooth.hciuart.service" "${ETC_DIR}/systemd/system/pi-bluetooth.hciuart.service"
128 install_readonly "${R}/tmp/pi-bluetooth/debian/pi-bluetooth.hciuart.service" "${ETC_DIR}/systemd/system/pi-bluetooth.hciuart.service"
129
129
130 # Remove temporary directory
130 # Remove temporary directories
131 rm -fr "${temp_dir}"
131 rm -fr "${temp_dir}"
132 rm -fr "${R}"/tmp/pi-bluetooth
132
133
133 # Switch Pi3 Bluetooth function to use the mini-UART (ttyS0) and restore UART0/ttyAMA0 over GPIOs 14 & 15. Slow Bluetooth and slow cpu. Use /dev/ttyS0 instead of /dev/ttyAMA0
134 # Switch Pi3 Bluetooth function to use the mini-UART (ttyS0) and restore UART0/ttyAMA0 over GPIOs 14 & 15. Slow Bluetooth and slow cpu. Use /dev/ttyS0 instead of /dev/ttyAMA0
134 if [ "$ENABLE_MINIUART_OVERLAY" = true ] ; then
135 if [ "$ENABLE_MINIUART_OVERLAY" = true ] ; then
@@ -50,4 +50,7 if [ "$ENABLE_VIDEOCORE" = true ] ; then
50
50
51 #back to root of scriptdir
51 #back to root of scriptdir
52 cd "${WORKDIR}"
52 cd "${WORKDIR}"
53
54 # Remove videocore sources
55 rm -fr "${R}"/tmp/userland/
53 fi
56 fi
@@ -101,4 +101,7 if [ "$ENABLE_NEXMON" = true ] && [ "$ENABLE_WIRELESS" = true ]; then
101 #Revert to previous directory
101 #Revert to previous directory
102 cd "${WORKDIR}" || exit
102 cd "${WORKDIR}" || exit
103
103
104 # Remove nexmon sources
105 rm -fr "${NEXMON_ROOT}"
106
104 fi
107 fi
@@ -4,6 +4,17
4 cleanup (){
4 cleanup (){
5 set +x
5 set +x
6 set +e
6 set +e
7
8 # Remove exports from nexmon
9 unset KERNEL
10 unset ARCH
11 unset SUBARCH
12 unset CCPLUGIN
13 unset ZLIBFLATE
14 unset Q
15 unset NEXMON_SETUP_ENV
16 unset HOSTUNAME
17 unset PLATFORMUNAME
7
18
8 # Identify and kill all processes still using files
19 # Identify and kill all processes still using files
9 echo "killing processes using mount point ..."
20 echo "killing processes using mount point ..."
General Comments 0
Vous devez vous connecter pour laisser un commentaire. Se connecter maintenant