X-Git-Url: https://git.madduck.net/code/vinst.git/blobdiff_plain/88d4c549e67f2e2e27d1d25199c7adf8ba078abd..10cac4edfc25c11d66c0950c22371c2f7a3fe615:/preseed/jessie/commands/late_commands.d/no_kernel_symlinks diff --git a/preseed/jessie/commands/late_commands.d/no_kernel_symlinks b/preseed/jessie/commands/late_commands.d/no_kernel_symlinks new file mode 100755 index 0000000..290cbd3 --- /dev/null +++ b/preseed/jessie/commands/late_commands.d/no_kernel_symlinks @@ -0,0 +1,4 @@ +#!/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