nslookup implementation
This commit is contained in:
parent
0cb9503b70
commit
038ec56a31
8 changed files with 27 additions and 14 deletions
|
@ -541,7 +541,7 @@ grub_cmd_bootp (struct grub_command *cmd __attribute__ ((unused)),
|
|||
return err;
|
||||
}
|
||||
|
||||
static grub_command_t cmd_dhcp, cmd_getdhcp, cmd_bootp;
|
||||
static grub_command_t cmd_getdhcp, cmd_bootp;
|
||||
|
||||
void
|
||||
grub_bootp_init (void)
|
||||
|
@ -549,9 +549,6 @@ grub_bootp_init (void)
|
|||
cmd_bootp = grub_register_command ("net_bootp", grub_cmd_bootp,
|
||||
"[CARD]",
|
||||
N_("perform a bootp autoconfiguration"));
|
||||
cmd_dhcp = grub_register_command ("net_dhcp", grub_cmd_bootp,
|
||||
"[CARD]",
|
||||
N_("perform a bootp autoconfiguration"));
|
||||
cmd_getdhcp = grub_register_command ("net_get_dhcp_option", grub_cmd_dhcpopt,
|
||||
N_("VAR INTERFACE NUMBER DESCRIPTION"),
|
||||
N_("retrieve DHCP option and save it into VAR. If VAR is - then print the value."));
|
||||
|
@ -561,6 +558,5 @@ void
|
|||
grub_bootp_fini (void)
|
||||
{
|
||||
grub_unregister_command (cmd_getdhcp);
|
||||
grub_unregister_command (cmd_dhcp);
|
||||
grub_unregister_command (cmd_bootp);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue