mirror of
				https://github.com/bashclub/proxmox-zfs-postinstall.git
				synced 2025-11-04 00:32:26 +01:00 
			
		
		
		
	Update proxmox-zfs-postinstall.sh
typo
This commit is contained in:
		@@ -99,7 +99,7 @@ fi
 | 
				
			|||||||
echo -e "######## CONFIGURE SWAPPINESS ########\n"
 | 
					echo -e "######## CONFIGURE SWAPPINESS ########\n"
 | 
				
			||||||
SWAPPINESS=$(cat /proc/sys/vm/swappiness)
 | 
					SWAPPINESS=$(cat /proc/sys/vm/swappiness)
 | 
				
			||||||
echo "The current swappiness is configured to '$SWAPPINESS %' of free memory until using swap."
 | 
					echo "The current swappiness is configured to '$SWAPPINESS %' of free memory until using swap."
 | 
				
			||||||
read -p "If you want to change the swappiness, please type in the percentage as number (0 = diasbled):" user_input
 | 
					read -p "If you want to change the swappiness, please type in the percentage as number (0 = disabled):" user_input
 | 
				
			||||||
if echo "$user_input" | grep -qE '^[0-9]+$'; then
 | 
					if echo "$user_input" | grep -qE '^[0-9]+$'; then
 | 
				
			||||||
    echo "Changing swappiness from '$SWAPPINESS %' to '$user_input %'"
 | 
					    echo "Changing swappiness from '$SWAPPINESS %' to '$user_input %'"
 | 
				
			||||||
    SWAPPINESS=$user_input
 | 
					    SWAPPINESS=$user_input
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user