#! /bin/sh

oldKernelsList=$(ls /boot/ | grep vmlinuz | grep -v `uname -r` | sed 's/vmlinuz-\(.*\)\(-.*\)$/linux-image-\1\2\nlinux-tools-\1\nlinux-headers-\1\2\nlinux-headers-\1\n/g') && aptitude...