From bba4f3df93ea603828b953a96140b1b9b8c5fadb Mon Sep 17 00:00:00 2001 From: Antoine Ginies Date: Thu, 21 Jul 2005 05:56:02 +0000 Subject: cosmetic change to improve understanding --- drakpxelinux.pl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'drakpxelinux.pl') 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 { -- cgit v1.2.1