[[$matched== 0 ]]&&echo"Warning: kernel line '$line' doesnt match ANY entry in /etc/shared-bootdir-helper-multi-kparam.cfg"&&exit 2
fi
[[$matched== 0 ]]&&echo"$line">>"$tmpfile"
done < "$inputfile"||exit$?
mv"$tmpfile""$inputfile"||exit$?
grep"$placeholder""$inputfile"&&
echo"Warning: placeholder '$placeholder' still exists in processed grub.cfg. Have you correctly set the 'map_kimage_to_kparam' of $0? Please double-check! "&&