make the overlay un-install directory configurable, for Ubuntu
This commit is contained in:
parent
37cd69fc1a
commit
99b29b06c1
1 changed files with 6 additions and 3 deletions
|
@ -55,9 +55,12 @@ echo "remove dtbos"
|
||||||
for i in $RPI_HATS; do
|
for i in $RPI_HATS; do
|
||||||
dtoverlay -r $i
|
dtoverlay -r $i
|
||||||
done
|
done
|
||||||
rm /boot/overlays/seeed-2mic-voicecard.dtbo || true
|
OVERLAYS=/boot/overlays
|
||||||
rm /boot/overlays/seeed-4mic-voicecard.dtbo || true
|
[ -d /boot/firmware/overlays ] && OVERLAYS=/boot/firmware/overlays
|
||||||
rm /boot/overlays/seeed-8mic-voicecard.dtbo || true
|
|
||||||
|
rm ${OVERLAYS}/seeed-2mic-voicecard.dtbo || true
|
||||||
|
rm ${OVERLAYS}/seeed-4mic-voicecard.dtbo || true
|
||||||
|
rm ${OVERLAYS}/seeed-8mic-voicecard.dtbo || true
|
||||||
|
|
||||||
echo "remove alsa configs"
|
echo "remove alsa configs"
|
||||||
rm -rf /etc/voicecard/ || true
|
rm -rf /etc/voicecard/ || true
|
||||||
|
|
Loading…
Reference in a new issue