hostname fix
This commit is contained in:
		@@ -166,16 +166,13 @@ fi
 | 
				
			|||||||
if [[ $index -eq 14 ]] && [[ $i == *"TRUE"* ]]; then
 | 
					if [[ $index -eq 14 ]] && [[ $i == *"TRUE"* ]]; then
 | 
				
			||||||
    echo "Changing Hostname"
 | 
					    echo "Changing Hostname"
 | 
				
			||||||
    echo "Please input new Hostname"
 | 
					    echo "Please input new Hostname"
 | 
				
			||||||
    read hostname
 | 
					    read newhostname && hostnamectl set-hostname $newhostname
 | 
				
			||||||
    hostnamectl set-hostname $hostname
 | 
					 | 
				
			||||||
fi
 | 
					fi
 | 
				
			||||||
 | 
					
 | 
				
			||||||
if [[ $index -eq 15 ]] && [[ $i == *"TRUE"* ]]; then
 | 
					if [[ $index -eq 15 ]] && [[ $i == *"TRUE"* ]]; then
 | 
				
			||||||
    echo "Changing sudo timeout"
 | 
					    echo "Changing sudo timeout"
 | 
				
			||||||
    echo "Paste the following into the editor:"
 | 
					    echo "Paste the following into the editor:"
 | 
				
			||||||
    konsole --hold -e echo "Defaults        env_reset,timestamp_timeout=30" ; sudo visudo
 | 
					    konsole --hold -e echo "Defaults        env_reset,timestamp_timeout=30" ; sudo visudo
 | 
				
			||||||
    # echo "Defaults        env_reset,timestamp_timeout=30"
 | 
					 | 
				
			||||||
    # sudo visudo
 | 
					 | 
				
			||||||
fi
 | 
					fi
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user