summaryrefslogtreecommitdiff
path: root/slackware-bootstrap
diff options
context:
space:
mode:
authornavewindre <boneyaard@gmail.com>2025-06-18 05:48:32 +0200
committernavewindre <boneyaard@gmail.com>2025-06-18 05:48:32 +0200
commitaaf1d894aeaf71743cdec8e7e7c1c177076a80af (patch)
tree47f4f5ac94e5f1f4cd712dda4db2b2d3c8c89153 /slackware-bootstrap
parentafd82678fdc0a03ea21e4f8e70784b27e48af56b (diff)
a
Diffstat (limited to 'slackware-bootstrap')
-rwxr-xr-xslackware-bootstrap/kernel13
1 files changed, 12 insertions, 1 deletions
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