slitaz-boot-scripts rev 473

init: fix typo
author Richard Dunbar <mojo@slitaz.org>
date Mon Jan 17 12:32:49 2022 -0500 (2022-01-17)
parents 0dfcc5bf7b5a
children 9a679d8916b6
files etc/init.d/system.sh
line diff
     1.1 --- a/etc/init.d/system.sh	Mon Jan 10 14:11:26 2022 +0000
     1.2 +++ b/etc/init.d/system.sh	Mon Jan 17 12:32:49 2022 -0500
     1.3 @@ -62,7 +62,7 @@
     1.4  
     1.5  # Activate an eventual swap file or partition
     1.6  if ! grep -q 'noswap' /proc/cmdline; then
     1.7 -if blkid | grepi -q 'TYPE="swap"'; then
     1.8 +if blkid | grep -q 'TYPE="swap"'; then
     1.9  	for swd in $(blkid | sed '/TYPE="swap"/!d;s/:.*//'); do
    1.10  		if ! grep -q "$swd	" /etc/fstab; then
    1.11  			echo "Swap memory detected on: $swd"