Fixed apt get output and readme for file locations.
Added location for starter icon
This commit is contained in:
2026-05-04 12:33:06 +02:00
parent f9b4ac3085
commit 725d697097
3 changed files with 10 additions and 12 deletions

View File

@@ -4,7 +4,7 @@ Type=Application
Name=CSR_INFOS.desktop Name=CSR_INFOS.desktop
Comment= Comment=
Exec=/usr/local/bin/csr_info/test.sh Exec=/usr/local/bin/csr_info/test.sh
Icon= Icon=/usr/local/bin/csr_info/logo_CSR.png
Path=/usr/local/bin/csr_info/ Path=/usr/local/bin/csr_info/
Terminal=true Terminal=true
StartupNotify=false StartupNotify=false

View File

@@ -6,9 +6,9 @@
Eine Anzahl an .sh scripts die diverse Systeme testen und auslesen und eine zusammenfassung in einer Textdatei Speichern. Eine Anzahl an .sh scripts die diverse Systeme testen und auslesen und eine zusammenfassung in einer Textdatei Speichern.
### Set Up ### Set Up
Die Skripte werden in ```/usr/local/bin in dem csr_setup``` Ordner abgelegt. Die Skripte werden in ```/usr/local/bin in dem csr_info``` Ordner abgelegt.
Eine .desktop Datei ```CSR_INFOS.desktop``` wird auf dem Desktop abgelegt die ```/usr/local/bin/csr_setup/test.sh``` ausführt. Eine .desktop Datei ```CSR_INFOS.desktop``` wird auf dem Desktop abgelegt die ```/usr/local/bin/csr_info/test.sh``` ausführt.
Diese muss in Terminal ausführen und soll auf das Bild ```/usr/local/bin/csr_setup/logo_CSR.png``` als icon nutzen. Diese muss in Terminal ausführen und soll auf das Bild ```/usr/local/bin/csr_info/logo_CSR.png``` als icon nutzen.
### Features ### Features
- Camera : Öffnet Cheese und fragt User Y/N nach funktion - Camera : Öffnet Cheese und fragt User Y/N nach funktion
@@ -19,5 +19,3 @@ Diese muss in Terminal ausführen und soll auf das Bild ```/usr/local/bin/csr_se
### ToDo: ### ToDo:
- [ ] DB Integration und automatische Übermittlung mit USER ID und Gerätenummer Eingabe - [ ] DB Integration und automatische Übermittlung mit USER ID und Gerätenummer Eingabe
- [ ] Fix LAN prompt
- [ ] Festplatten check

10
test.sh
View File

@@ -94,14 +94,14 @@ else
true true
fi fi
echo "Update..." echo "Update..."
sudo apt-get update -y 2>&1 > /dev/null sudo apt-get update -y -qq 2>&1 > /dev/null
echo "Upgrade..." echo "Upgrade..."
sudo apt-get full-upgrade -y 2>&1 > /dev/null sudo apt-get full-upgrade -y -qq 2>&1 > /dev/null
echo "Autoremove..." echo "Autoremove..."
sudo apt-get autoremove -y 2>&1 > /dev/null sudo apt-get autoremove -y -qq 2>&1 > /dev/null
echo "Clean..." echo "Clean..."
sudo apt-get clean -y 2>&1 > /dev/null sudo apt-get clean -y -qq 2>&1 > /dev/null
echo "Autoclean..." echo "Autoclean..."
sudo apt-get autoclean -y 2>&1 > /dev/null sudo apt-get autoclean -y -qq 2>&1 > /dev/null
read -n 1 -s -r -p "Beenden mit Tastendruck" read -n 1 -s -r -p "Beenden mit Tastendruck"