diff options
Diffstat (limited to 'drakpxelinux.pl')
-rw-r--r-- | drakpxelinux.pl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drakpxelinux.pl b/drakpxelinux.pl index 9329d67..6104a61 100644 --- a/drakpxelinux.pl +++ b/drakpxelinux.pl @@ -137,7 +137,7 @@ use constant COLUMN_LABEL => 0; use constant COLUMN_INFO => 1; use constant COLUMN_KERNEL => 2; use constant COLUMN_INITRD => 3; -use constant COLUMN_AUTOMATIC => 4; +use constant COLUMN_METHOD => 4; use constant COLUMN_INTERFACE => 5; use constant COLUMN_NETWORK => 6; use constant COLUMN_SERVER => 7; @@ -174,7 +174,7 @@ sub set_pxelinux_entry_at_iter { COLUMN_INFO, $entry->{info}, COLUMN_KERNEL, $entry->{kernel}, COLUMN_INITRD, $entry->{initrd}, - COLUMN_AUTOMATIC, $entry->{method}, + COLUMN_METHOD, $entry->{method}, COLUMN_INTERFACE, $entry->{interface}, COLUMN_NETWORK, $entry->{network}, COLUMN_SERVER, $entry->{server}, @@ -578,7 +578,7 @@ sub cell_edited { $entry->{initrd} = $new_text; $model->set($iter, $column, $entry->{initrd}); } - } elsif ($column == COLUMN_AUTOMATIC) { + } elsif ($column == COLUMN_METHOD) { if (!member($new_text, @list_method) || $entry->{kernel} =~ /memdisk/) { return; } else { |