forked from sh-edraft.de/sh_linux_installation_scripts
		
	Changed file structure
This commit is contained in:
		
							
								
								
									
										7
									
								
								common/debian/scripts/default_installation.sh
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										7
									
								
								common/debian/scripts/default_installation.sh
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,7 @@ | ||||
| #!/bin/bash | ||||
|  | ||||
| source $PWD/common/scripts/first_install.sh | ||||
| source $PWD/common/scripts/update.sh | ||||
|  | ||||
| first_install | ||||
| update | ||||
							
								
								
									
										6
									
								
								common/debian/scripts/first_install.sh
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										6
									
								
								common/debian/scripts/first_install.sh
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,6 @@ | ||||
| #!/bin/bash | ||||
|  | ||||
| first_install() { | ||||
|     echo 'Installing useful apps' | ||||
|     apt-get install net-tools dnsutils nano htop iftop tree zip unzip curl wget sudo -y | ||||
| } | ||||
							
								
								
									
										10
									
								
								common/debian/scripts/update.sh
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										10
									
								
								common/debian/scripts/update.sh
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,10 @@ | ||||
| #!/bin/bash | ||||
|  | ||||
| update() { | ||||
|     echo 'Starting update:' | ||||
|     sudo apt-get update -y | ||||
|     echo 'Starting upgrade:' | ||||
|     sudo apt-get upgrade -y | ||||
|     echo 'Starting dist-upgrade:' | ||||
|     sudo apt-get dist-upgrade -y | ||||
| } | ||||
		Reference in New Issue
	
	Block a user