diff options
| author | navewindre <boneyaard@gmail.com> | 2025-06-18 05:46:29 +0200 |
|---|---|---|
| committer | navewindre <boneyaard@gmail.com> | 2025-06-18 05:46:29 +0200 |
| commit | afd82678fdc0a03ea21e4f8e70784b27e48af56b (patch) | |
| tree | 6fdb6eb0583b335d61329caceeef13573a85004e /slackware-bootstrap/slackpkg | |
| parent | 15f41c1af833148d5f4a08d3b63e4f0345ce939a (diff) | |
liloconfig
Diffstat (limited to 'slackware-bootstrap/slackpkg')
| -rwxr-xr-x | slackware-bootstrap/slackpkg | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/slackware-bootstrap/slackpkg b/slackware-bootstrap/slackpkg index e21e7d8..80f1bb8 100755 --- a/slackware-bootstrap/slackpkg +++ b/slackware-bootstrap/slackpkg @@ -72,6 +72,18 @@ initrdcmd="$(/usr/share/mkinitrd/mkinitrd_command_generator.sh -k $kernel)" initrdcmd=$(echo $initrdcmd | tail -1) $initrdcmd +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-$kernel /boot/vmlinuz |
