Beispielhafte Installation hinzugefuegt
This commit is contained in:
		
							parent
							
								
									d05a6fe576
								
							
						
					
					
						commit
						d141bc8824
					
				
							
								
								
									
										14
									
								
								README.md
									
									
									
									
									
								
							
							
						
						
									
										14
									
								
								README.md
									
									
									
									
									
								
							@ -16,7 +16,19 @@ Dieses Skript ist eine verbesserte Version eines wöchentlichen Update-Skripts f
 | 
			
		||||
2. Navigiere in das Verzeichnis: `cd weekly-updater`
 | 
			
		||||
3. Führe das Skript aus: `bash weekly-update.v2.sh`
 | 
			
		||||
 | 
			
		||||
## Beispiel Installation:
 | 
			
		||||
 | 
			
		||||
```bash
 | 
			
		||||
# Script zum Updaten des Systems und CronJob erstellen
 | 
			
		||||
mkdir -p /home/scripts/default
 | 
			
		||||
mkdir -p /temp/git
 | 
			
		||||
git clone https://git.media-techport.de/scriptos/weekly-updater.git /temp/git/weekly-updater
 | 
			
		||||
cp /temp/git/weekly-updater/weekly-update.v2.sh /home/scripts/default/weekly-update.v2.sh
 | 
			
		||||
chmod 755 -R /home/scripts/default
 | 
			
		||||
chmod +x /home/scripts/default/weekly-update.v2.sh
 | 
			
		||||
cat <(crontab -l) <(echo "@weekly /home/scripts/default/weekly-update.v2.sh") | crontab -
 | 
			
		||||
bash```
 | 
			
		||||
 | 
			
		||||
## Lizenz
 | 
			
		||||
 | 
			
		||||
Dieses Skript steht unter der [MIT-Lizenz](https://opensource.org/licenses/MIT).
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user