summaryrefslogtreecommitdiffstats
path: root/files
diff options
context:
space:
mode:
authorRobby Workman <rworkman@slackware.com>2018-04-03 19:19:18 -0500
committerRobby Workman <rworkman@slackware.com>2018-04-03 19:19:18 -0500
commit2cb98319cbf664c662b56493d65bcf3b98952d9d (patch)
tree15dbde7e76657637d2ad5a3f4a2b70f63bdd7cf0 /files
parentb55bfd964584a255d74932e7c6c0e8482ba63620 (diff)
downloadslackpkg-2cb98319cbf664c662b56493d65bcf3b98952d9d.tar.xz
post-functions.sh: Make sure user confirms kernel update
Diffstat (limited to 'files')
-rw-r--r--files/post-functions.sh12
1 files changed, 6 insertions, 6 deletions
diff --git a/files/post-functions.sh b/files/post-functions.sh
index 2eba4d2..64bc005 100644
--- a/files/post-functions.sh
+++ b/files/post-functions.sh
@@ -227,17 +227,17 @@ updates to your bootloader.
"
elif [ -x /sbin/lilo ] && [ -r /etc/lilo.conf ] ; then
echo -e "\n
-Your kernel image was updated. We highly recommend you run: lilo
-Do you want slackpkg to run lilo now? (Y/n)"
- answer
- if [ "$ANSWER" = "y" ] || [ "$ANSWER" = "Y" ]; then
- /sbin/lilo
- fi
+Your kernel image was updated. Be sure to handle any needed updates
+to your bootloader.
+"
else
echo -e "\n
Your kernel image was updated, and lilo does not appear to be used on
your system. You may need to adjust your boot manager (like GRUB) to
boot the appropriate kernel."
fi
+ echo -e "\n\n
+Press any key to continue...\n
+"
fi
}