summaryrefslogtreecommitdiffstats
path: root/drakpxelinux.pl
diff options
context:
space:
mode:
authorAntoine Ginies <aginies@mandriva.com>2005-07-21 05:45:35 +0000
committerAntoine Ginies <aginies@mandriva.com>2005-07-21 05:45:35 +0000
commit4b37d8d754691dc73349eebac2663e21cedd5239 (patch)
treedce6e81f69f25e85ca3c6764172738e6424fb44a /drakpxelinux.pl
parente6be70d904a00a9940ce74a7d44d60083cfdfbb7 (diff)
downloaddrakpxelinux-4b37d8d754691dc73349eebac2663e21cedd5239.tar
drakpxelinux-4b37d8d754691dc73349eebac2663e21cedd5239.tar.gz
drakpxelinux-4b37d8d754691dc73349eebac2663e21cedd5239.tar.bz2
drakpxelinux-4b37d8d754691dc73349eebac2663e21cedd5239.tar.xz
drakpxelinux-4b37d8d754691dc73349eebac2663e21cedd5239.zip
fix installation method
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/) {