reimported savedefault by cjwatson and myself

Also-By: Vladimir 'phcoder' Serbinenko <phcoder@gmail.com>
This commit is contained in:
Colin Watson 2009-11-20 09:41:20 +01:00 committed by Vladimir 'phcoder' Serbinenko
parent cd4f42b0c1
commit 242f0731c7
17 changed files with 315 additions and 2 deletions

View file

@ -130,6 +130,14 @@ convert_system_path_to_grub_path ()
echo ${drive}${relative_path}
}
save_default_entry ()
{
if [ "x${GRUB_DEFAULT}" = "xsaved" ] ; then
echo 'saved_entry=${chosen}'
echo 'save_env saved_entry'
fi
}
prepare_grub_to_access_device ()
{
device=$1