mirror of
				https://github.com/brain-hackers/brain-config.git
				synced 2025-11-04 14:38:36 +09:00 
			
		
		
		
	Function to read hostname added.
This commit is contained in:
		@@ -304,6 +304,10 @@ do_configure_wifi_country() {
 | 
				
			|||||||
  IFS=$oIFS
 | 
					  IFS=$oIFS
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					get_hostname() {
 | 
				
			||||||
 | 
					    cat /etc/hostname | tr -d " \t\n\r"
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
do_change_hostname() {
 | 
					do_change_hostname() {
 | 
				
			||||||
  if [ "$INTERACTIVE" = True ]; then
 | 
					  if [ "$INTERACTIVE" = True ]; then
 | 
				
			||||||
    whiptail --msgbox "\
 | 
					    whiptail --msgbox "\
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user