/etc/init.d/system.sh: line 65: grepi: not found
# Activate an eventual swap file or partition
if ! grep -q 'noswap' /proc/cmdline; then
if blkid | grepi -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"
cat >> /etc/fstab <<EOT
$swd swap swap defaults 0 0
EOT
fi
done
fi