From aaf1d894aeaf71743cdec8e7e7c1c177076a80af Mon Sep 17 00:00:00 2001 From: navewindre Date: Wed, 18 Jun 2025 05:48:32 +0200 Subject: a --- slackware-bootstrap/kernel | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'slackware-bootstrap') diff --git a/slackware-bootstrap/kernel b/slackware-bootstrap/kernel index 4332f40..76ea9ad 100755 --- a/slackware-bootstrap/kernel +++ b/slackware-bootstrap/kernel @@ -28,7 +28,18 @@ if [[ $dirstr != '' ]]; then cp System.map /boot/System.map-6.15.2.x64 cp .config /boot/config-6.15.2 - liloconfig + echo "==================== [ kernel update ] ==========================" + echo "your kernel has been updated by slackpkg. in order to boot," + echo "you will need to update your bootloader config." + echo "if you do not use LILO, or do not boot off of your slackware disk" + echo "simply input 'n'" + echo "=================================================================" + + read -p "would you like to update your bootloader? [y/n] (y): " choice + if [[ $choice != 'n' ]]; then + liloconfig + fi + rm /boot/vmlinuz ln -s /boot/vmlinuz-generic-6.15.2 /boot/vmlinuz -- cgit v1.2.3