Update README: Add v2 script comparison table

This commit is contained in:
2026-04-29 14:29:28 +02:00
parent 5a3b47b4c5
commit c1af92f49e
+31 -13
View File
@@ -9,7 +9,8 @@ sysadmin/
├── linux/
│ ├── kubuntu/ # Kubuntu-spezifische Skripte
│ │ ├── setup-unattended-upgrades.sh # Nur Security-Updates
│ │ ── setup-unattended-upgrades-full.sh # Alle Updates
│ │ ── setup-unattended-upgrades-full.sh # Alle Updates (legacy v1)
│ │ └── setup-unattended-upgrades-full-v2.sh # Alle Updates (verbessert)
│ └── debian/ # Debian-spezifische Skripte
├── windows/ # Windows-Administration
├── networking/ # Netzwerk-Konfigurationen
@@ -20,7 +21,15 @@ sysadmin/
### Schnellstart (vor Ort)
**Variante A: Nur Security-Updates (empfohlen für stabile Systeme)**
**Empfohlen: Verbesserte v2-Version**
```bash
wget https://git.winterit.de/WinterIT/sysadmin/raw/branch/main/linux/kubuntu/setup-unattended-upgrades-full-v2.sh
chmod +x setup-unattended-upgrades-full-v2.sh
sudo ./setup-unattended-upgrades-full-v2.sh
```
**Variante A: Nur Security-Updates (stabile Systeme)**
```bash
wget https://git.winterit.de/WinterIT/sysadmin/raw/branch/main/linux/kubuntu/setup-unattended-upgrades.sh
@@ -28,13 +37,16 @@ chmod +x setup-unattended-upgrades.sh
sudo ./setup-unattended-upgrades.sh
```
**Variante B: Alle Updates inkl. Applikationen (empfohlen für aktuelle Software)**
### Was verbessert die v2-Version?
```bash
wget https://git.winterit.de/WinterIT/sysadmin/raw/branch/main/linux/kubuntu/setup-unattended-upgrades-full.sh
chmod +x setup-unattended-upgrades-full.sh
sudo ./setup-unattended-upgrades-full.sh
```
| Feature | v1 (legacy) | v2 (empfohlen) |
|---------|-------------|----------------|
| `sed`-Muster | Starr (`//"`) | Flexibel (`//[[:space:]]*"`) |
| `apt-daily.timer` | ❌ Nicht aktiviert | ✅ Aktiviert |
| `apt-daily-upgrade.timer` | ❌ Nicht aktiviert | ✅ Aktiviert |
| `20auto-upgrades` | ❌ Fehlend | ✅ Explizit gesetzt |
| GUI-Notifier | `apt remove` (aggressiv) | `Hidden=true` (sanft) |
| Verifikation | ❌ Keine | ✅ Zeigt aktive Origins |
### Was passiert?
@@ -42,20 +54,26 @@ sudo ./setup-unattended-upgrades-full.sh
- **Security-Updates** automatisch im Hintergrund installieren
- **Reguläre Updates** (bei Full-Version) — Firefox, LibreOffice, etc.
- **GUI-Benachrichtigungen** deaktivieren (keine Popups mehr)
- **Service** aktivieren und starten
- **Service + Timer** aktivieren und starten
- **Verifikation** am Ende — zeigt sofort, ob alles funktioniert
### Nach dem Setup prüfen
```bash
# Status des Services
sudo systemctl status unattended-upgrades
# Timer-Status
sudo systemctl status apt-daily.timer
sudo systemctl status apt-daily-upgrade.timer
# Testlauf (simuliert, ändert nichts)
sudo unattended-upgrade --dry-run
# Logs ansehen
ls /var/log/unattended-upgrades/
```
### Dokumentation
Detaillierte Infos: [docs/kubuntu-unattended-upgrades.md](docs/kubuntu-unattended-upgrades.md)
## Lizenz
Interner Code für WinterIT.