#!/bin/sh
echo I: Create initramfs if it does not exist.
# Kernel complains about non available nls_ascii module when booting from USB pendrive
echo "nls_ascii" >> /etc/initramfs-tools/modules
update-initramfs -c -k `ls /boot | grep vmlinuz- | sed 's/vmlinuz-//g'`