mirror of
https://github.com/rworkman/slackpkg
synced 2025-01-13 20:03:38 +01:00
post-functions.sh: Make sure user confirms kernel update
This commit is contained in:
parent
b55bfd9645
commit
2cb98319cb
1 changed files with 6 additions and 6 deletions
|
@ -227,17 +227,17 @@ updates to your bootloader.
|
||||||
"
|
"
|
||||||
elif [ -x /sbin/lilo ] && [ -r /etc/lilo.conf ] ; then
|
elif [ -x /sbin/lilo ] && [ -r /etc/lilo.conf ] ; then
|
||||||
echo -e "\n
|
echo -e "\n
|
||||||
Your kernel image was updated. We highly recommend you run: lilo
|
Your kernel image was updated. Be sure to handle any needed updates
|
||||||
Do you want slackpkg to run lilo now? (Y/n)"
|
to your bootloader.
|
||||||
answer
|
"
|
||||||
if [ "$ANSWER" = "y" ] || [ "$ANSWER" = "Y" ]; then
|
|
||||||
/sbin/lilo
|
|
||||||
fi
|
|
||||||
else
|
else
|
||||||
echo -e "\n
|
echo -e "\n
|
||||||
Your kernel image was updated, and lilo does not appear to be used on
|
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
|
your system. You may need to adjust your boot manager (like GRUB) to
|
||||||
boot the appropriate kernel."
|
boot the appropriate kernel."
|
||||||
fi
|
fi
|
||||||
|
echo -e "\n\n
|
||||||
|
Press any key to continue...\n
|
||||||
|
"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue