| 
					
					
						
							
						
					
					
				 | 
				@ -65,7 +65,7 @@ PGKNAME='openssh-server' | 
			
		
		
	
		
			
				 | 
				 | 
				runVoid dpkg-query --status $PGKNAME | 
				 | 
				 | 
				runVoid dpkg-query --status $PGKNAME | 
			
		
		
	
		
			
				 | 
				 | 
				if [ $? -ne 0 ] ; then | 
				 | 
				 | 
				if [ $? -ne 0 ] ; then | 
			
		
		
	
		
			
				 | 
				 | 
				    set -e | 
				 | 
				 | 
				    set -e | 
			
		
		
	
		
			
				 | 
				 | 
				    sudo apt install $PGKNAME | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				    sudo apt install -y $PGKNAME | 
			
		
		
	
		
			
				 | 
				 | 
				    sudo /opt/debian-bash/tools/append_or_replace "^#\?PermitRootLogin.*$" "PermitRootLogin no" /etc/ssh/sshd_config | 
				 | 
				 | 
				    sudo /opt/debian-bash/tools/append_or_replace "^#\?PermitRootLogin.*$" "PermitRootLogin no" /etc/ssh/sshd_config | 
			
		
		
	
		
			
				 | 
				 | 
				    sudo /opt/debian-bash/tools/append_or_replace "^#\?PasswordAuthentication.*$" "PasswordAuthentication no" /etc/ssh/sshd_config | 
				 | 
				 | 
				    sudo /opt/debian-bash/tools/append_or_replace "^#\?PasswordAuthentication.*$" "PasswordAuthentication no" /etc/ssh/sshd_config | 
			
		
		
	
		
			
				 | 
				 | 
				    sudo /opt/debian-bash/tools/append_or_replace "^#\?AllowUsers.*$" "AllowUsers $ALLOWED_USERS" /etc/ssh/sshd_config | 
				 | 
				 | 
				    sudo /opt/debian-bash/tools/append_or_replace "^#\?AllowUsers.*$" "AllowUsers $ALLOWED_USERS" /etc/ssh/sshd_config | 
			
		
		
	
	
		
			
				| 
					
					
					
						
							
						
					
				 | 
				@ -75,6 +75,14 @@ else | 
			
		
		
	
		
			
				 | 
				 | 
				    echo "${PGKNAME} already installed!" | 
				 | 
				 | 
				    echo "${PGKNAME} already installed!" | 
			
		
		
	
		
			
				 | 
				 | 
				fi | 
				 | 
				 | 
				fi | 
			
		
		
	
		
			
				 | 
				 | 
				
 | 
				 | 
				 | 
				
 | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				## allow hotplug eth0 | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				if [[ $(grep 'auto eth0' /etc/network/interfaces.d/setup ) ]];then  | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				    sudo /opt/debian-bash/tools/append_or_replace "^auto eth0.*$" "allow-hotplug eth0" /etc/network/interfaces.d/setup | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				else | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				    echo "allow-hotplug already set up" | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				fi | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				
 | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				
 | 
			
		
		
	
		
			
				 | 
				 | 
				## firefox latest | 
				 | 
				 | 
				## firefox latest | 
			
		
		
	
		
			
				 | 
				 | 
				if [[ ! /usr/local/bin/firefox -ef /opt/firefox/firefox ]];then | 
				 | 
				 | 
				if [[ ! /usr/local/bin/firefox -ef /opt/firefox/firefox ]];then | 
			
		
		
	
		
			
				 | 
				 | 
				    set -e | 
				 | 
				 | 
				    set -e | 
			
		
		
	
	
		
			
				| 
					
						
							
						
					
					
					
				 | 
				
  |