В Fri, 10 May 2013 09:12:57 -0700 (PDT) Rigoberto Corujo <rcor...@yahoo.com> пишет:
> > Thank you Andrey. I can confirm that the net_default_interface, > net_default_ip, and net_default_mac variables worked as expected. I did > notice, however, then when I'm in the grub shell and I type "set", these > variables show up in the list, but they have no values, which makes it appear > as if something is wrong. If I echo the variables, however, I do see their > correct values. > Does it behave better with patch below? diff --git a/grub-core/kern/corecmd.c b/grub-core/kern/corecmd.c index cfab676..1700eb4 100644 --- a/grub-core/kern/corecmd.c +++ b/grub-core/kern/corecmd.c @@ -40,7 +40,7 @@ grub_core_cmd_set (struct grub_command *cmd __attribute__ ((unused)), { struct grub_env_var *env; FOR_SORTED_ENV (env) - grub_printf ("%s=%s\n", env->name, env->value); + grub_printf ("%s=%s\n", env->name, grub_env_get (env->name)); return 0; } _______________________________________________ Grub-devel mailing list Grub-devel@gnu.org https://lists.gnu.org/mailman/listinfo/grub-devel