summaryrefslogtreecommitdiffstats
path: root/drakpxelinux.pl
diff options
context:
space:
mode:
Diffstat (limited to 'drakpxelinux.pl')
-rw-r--r--drakpxelinux.pl11
1 files changed, 5 insertions, 6 deletions
diff --git a/drakpxelinux.pl b/drakpxelinux.pl
index 3390b0d..9329d67 100644
--- a/drakpxelinux.pl
+++ b/drakpxelinux.pl
@@ -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->{automatic},
+ COLUMN_AUTOMATIC, $entry->{method},
COLUMN_INTERFACE, $entry->{interface},
COLUMN_NETWORK, $entry->{network},
COLUMN_SERVER, $entry->{server},
@@ -398,7 +398,7 @@ sub edit_box_item {
# combo box to pop down automatic installation
my $automatic = Gtk2::OptionMenu->new;
$automatic->set_popdown_strings(@list_method);
- $automatic->entry->set_text($entry->{automatic});
+ $automatic->entry->set_text($entry->{method});
set_help_tip($automatic, 'automatic');
# combo box to pop down list of network interface
@@ -514,8 +514,7 @@ sub edit_box_item {
$entry->{info} = $info->get_text;
$entry->{kernel} = $kernel->get_text;
$entry->{initrd} = $initrd->get_text;
- $entry->{automatic} = $automatic->entry->get_text;
- print "----- $entry->{automatic}";
+ $entry->{method} = $automatic->entry->get_text;
$entry->{interface} = $interface->entry->get_text;
# check dhcp or ipaddress
if ($toggledhcp->get_active) {
@@ -583,8 +582,8 @@ sub cell_edited {
if (!member($new_text, @list_method) || $entry->{kernel} =~ /memdisk/) {
return;
} else {
- $entry->{automatic} = $new_text;
- $model->set($iter, $column, $entry->{automatic});
+ $entry->{method} = $new_text;
+ $model->set($iter, $column, $entry->{method});
}
} elsif ($column == COLUMN_INTERFACE) {
if (member($new_text, @list_eth) || $entry->{kernel} !~ /memdisk/) {