# HG changeset patch # User Richard Dunbar # Date 1642440769 18000 # Node ID b730a4bf981d7846c9885bce706e74c86bf8b3f8 # Parent 0dfcc5bf7b5a1b9f071b67bebaf085f5aae44331 init: fix typo diff -r 0dfcc5bf7b5a -r b730a4bf981d etc/init.d/system.sh --- a/etc/init.d/system.sh Mon Jan 10 14:11:26 2022 +0000 +++ b/etc/init.d/system.sh Mon Jan 17 12:32:49 2022 -0500 @@ -62,7 +62,7 @@ # Activate an eventual swap file or partition if ! grep -q 'noswap' /proc/cmdline; then -if blkid | grepi -q 'TYPE="swap"'; then +if blkid | grep -q 'TYPE="swap"'; then for swd in $(blkid | sed '/TYPE="swap"/!d;s/:.*//'); do if ! grep -q "$swd " /etc/fstab; then echo "Swap memory detected on: $swd"