script to fix titan image sound+bt, updates.

This script is to make fixes to the previously released titan images that didn't have audio or bluetooth functionality. This script will also provide the system updates for the users.
This commit is contained in:
crowetic 2022-03-18 16:38:30 -07:00 committed by GitHub
parent 69bac27844
commit 694e020fc5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

29
titan-fixes.sh Normal file
View File

@ -0,0 +1,29 @@
#!/bin/sh
echo ...downloading config changes...
wget https://raw.githubusercontent.com/crowetic/QORTector-scripts/main/cmdline.txt
wget https://raw.githubusercontent.com/crowetic/QORTector-scripts/main/config.txt
echo ...copying config changes...
sudo mv config.txt /boot && sudo mv cmdline.txt /boot
echo ...doing system updates...
sudo apt update && sudo apt -y upgrade
echo ...installing bluetooth packages...
sudo apt -y install bluemon bluez bluez-tools libpam-blue pi-bluetooth bluez-firmware bluetooth
echo ...installing mesa GPU packages...
sudo apt -y install mesa libgles2-mesa libgles2-mesa-dev xorg-dev
echo ...restarting system...
sudo reboot