#!/bin/sh
echo "Removing kernel symlinks in / and disabling them..."
rm /initrd.img /vmlinuz
sed -i -e '/do_symlinks/s/yes/no/' /etc/kernel-img.conf