reimported savedefault by cjwatson and myself

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

No files matched your search

+8
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