Wording geändert #1
@ -1,5 +1,5 @@
 | 
				
			|||||||
# Variablen:
 | 
					# Variablen:
 | 
				
			||||||
# Typ:          Variablen für Script weekly-update.v3.sh
 | 
					# Typ:          Variablen für Script linux-updater.v2.sh
 | 
				
			||||||
# Git-Reposit.: 
 | 
					# Git-Reposit.: 
 | 
				
			||||||
# Version:      1.0
 | 
					# Version:      1.0
 | 
				
			||||||
# Datum:        13.04.2024
 | 
					# Datum:        13.04.2024
 | 
				
			||||||
							
								
								
									
										12
									
								
								README.md
									
									
									
									
									
								
							
							
						
						
									
										12
									
								
								README.md
									
									
									
									
									
								
							@ -12,9 +12,9 @@ Dieses Skript ist eine verbesserte Version eines wöchentlichen Update-Skripts f
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
## Verwendung
 | 
					## Verwendung
 | 
				
			||||||
 | 
					
 | 
				
			||||||
1. Klone das Repository: `git clone https://git.techniverse.net/scriptos/weekly-updater.git`
 | 
					1. Klone das Repository: `git clone https://git.techniverse.net/scriptos/linux-updater.git`
 | 
				
			||||||
2. Navigiere in das Verzeichnis: `cd weekly-updater`
 | 
					2. Navigiere in das Verzeichnis: `cd linux-updater`
 | 
				
			||||||
3. Führe das Skript aus: `bash weekly-update.v3.sh`
 | 
					3. Führe das Skript aus: `bash linux-updater.v3.sh`
 | 
				
			||||||
 | 
					
 | 
				
			||||||
## Beispiel Installation:
 | 
					## Beispiel Installation:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@ -22,12 +22,12 @@ Dieses Skript ist eine verbesserte Version eines wöchentlichen Update-Skripts f
 | 
				
			|||||||
# Script zum Updaten des Systems und CronJob erstellen
 | 
					# Script zum Updaten des Systems und CronJob erstellen
 | 
				
			||||||
mkdir -p /home/scripts/default
 | 
					mkdir -p /home/scripts/default
 | 
				
			||||||
mkdir -p /tmp/git
 | 
					mkdir -p /tmp/git
 | 
				
			||||||
git clone https://git.techniverse.net/scriptos/weekly-updater.git /tmp/git/weekly-updater
 | 
					git clone https://git.techniverse.net/scriptos/linux-updater.git /tmp/git/linux-updater
 | 
				
			||||||
cp /tmp/git/weekly-updater/weekly-update.v3.sh /home/scripts/default/weekly-update.v3.sh
 | 
					cp /tmp/git/linux-updater/weekly-update.v3.sh /home/scripts/default/weekly-update.v3.sh
 | 
				
			||||||
chmod 755 -R /home/scripts/default
 | 
					chmod 755 -R /home/scripts/default
 | 
				
			||||||
chmod +x /home/scripts/default/weekly-update.v3.sh
 | 
					chmod +x /home/scripts/default/weekly-update.v3.sh
 | 
				
			||||||
cat <(crontab -l) <(echo "@weekly /home/scripts/default/weekly-update.v3.sh > /dev/null 2>&1") | crontab -
 | 
					cat <(crontab -l) <(echo "@weekly /home/scripts/default/weekly-update.v3.sh > /dev/null 2>&1") | crontab -
 | 
				
			||||||
rm -r /tmp/git/weekly-updater
 | 
					rm -r /tmp/git/linux-updater
 | 
				
			||||||
```
 | 
					```
 | 
				
			||||||
 | 
					
 | 
				
			||||||
## Lizenz
 | 
					## Lizenz
 | 
				
			||||||
 | 
				
			|||||||
@ -1,17 +1,17 @@
 | 
				
			|||||||
#!/bin/bash
 | 
					#!/bin/bash
 | 
				
			||||||
# Script Name:  weekly-update.v2.sh
 | 
					# Script Name:  linux-updater.v2.sh
 | 
				
			||||||
# Beschreibung: Wöchentliches Update-Skript für Linux-Systeme
 | 
					# Beschreibung: Wöchentliches Update-Skript für Linux-Systeme
 | 
				
			||||||
# Aufruf:       bash ./weekly-update.v2.sh
 | 
					# Aufruf:       bash ./linux-updater.v2.sh
 | 
				
			||||||
# Autor:        Patrick Asmus
 | 
					# Autor:        Patrick Asmus
 | 
				
			||||||
# Web:          https://www.techniverse.net
 | 
					# Web:          https://www.techniverse.net
 | 
				
			||||||
# Git-Reposit.: https://git.techniverse.net/scriptos/weekly-updater.git
 | 
					# Git-Reposit.: https://git.techniverse.net/scriptos/weekly-updater.git
 | 
				
			||||||
# Version:      2.2
 | 
					# Version:      2.2
 | 
				
			||||||
# Datum:        31.03.2024
 | 
					# Datum:        25.11.2024
 | 
				
			||||||
# Modifikation: Umstellung auf neue Domain
 | 
					# Modifikation: Wording geändert
 | 
				
			||||||
#####################################################
 | 
					#####################################################
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Variablen
 | 
					# Variablen
 | 
				
			||||||
SCRIPT_NAME=weekly-update.v2.sh
 | 
					SCRIPT_NAME=linux-updater.v2.sh
 | 
				
			||||||
HOSTNAME=$(hostname)
 | 
					HOSTNAME=$(hostname)
 | 
				
			||||||
MAIL=root
 | 
					MAIL=root
 | 
				
			||||||
LOGDIR=/var/log/script-logs
 | 
					LOGDIR=/var/log/script-logs
 | 
				
			||||||
@ -1,20 +1,20 @@
 | 
				
			|||||||
#!/bin/bash
 | 
					#!/bin/bash
 | 
				
			||||||
# Script Name:  weekly-update.v3.sh
 | 
					# Script Name:  linux-updater.v3.sh
 | 
				
			||||||
# Beschreibung: Wöchentliches Update-Skript für Linux-Systeme
 | 
					# Beschreibung: Wöchentliches Update-Skript für Linux-Systeme
 | 
				
			||||||
# Aufruf:       bash ./weekly-update.v3.sh
 | 
					# Aufruf:       bash ./linux-updater.v3.sh
 | 
				
			||||||
# Autor:        Patrick Asmus
 | 
					# Autor:        Patrick Asmus
 | 
				
			||||||
# Web:          https://www.techniverse.net
 | 
					# Web:          https://www.techniverse.net
 | 
				
			||||||
# Git-Reposit.: https://git.techniverse.net/scriptos/weekly-updater.git
 | 
					# Git-Reposit.: https://git.techniverse.net/scriptos/weekly-updater.git
 | 
				
			||||||
# Version:      3.0
 | 
					# Version:      3.1
 | 
				
			||||||
# Datum:        13.04.2024
 | 
					# Datum:        24.11.2024
 | 
				
			||||||
# Modifikation: Version 3 released | Webhooks sind jetzt Bestandteil
 | 
					# Modifikation: Wording geändert
 | 
				
			||||||
#####################################################
 | 
					#####################################################
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Umgebungsvariablen
 | 
					# Umgebungsvariablen
 | 
				
			||||||
source /root/.env/.weekly-update.v3.env
 | 
					source /root/.env/.linux-updater.v3.env
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Variablen
 | 
					# Variablen
 | 
				
			||||||
SCRIPT_NAME=weekly-update.v3.sh
 | 
					SCRIPT_NAME=linux-updater.v3.sh
 | 
				
			||||||
HOSTNAME=$(hostname)
 | 
					HOSTNAME=$(hostname)
 | 
				
			||||||
MAIL=root
 | 
					MAIL=root
 | 
				
			||||||
LOGDIR=/var/log/script-logs
 | 
					LOGDIR=/var/log/script-logs
 | 
				
			||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user