From 3ec48ada15ccec58f3590da5b0f3fb1f4f257bce Mon Sep 17 00:00:00 2001 From: Antoine Ginies Date: Wed, 14 Sep 2005 22:17:11 +0000 Subject: typo fix --- drakpxelinux.pl | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'drakpxelinux.pl') diff --git a/drakpxelinux.pl b/drakpxelinux.pl index 1eb454f..343e00a 100644 --- a/drakpxelinux.pl +++ b/drakpxelinux.pl @@ -352,12 +352,13 @@ sub wizard_add_entry { }; push @{$pxelinux_conf->{entries}}, $entry; set_pxelinux_entry_at_iter($model, $model->append, $entry); - # set default boot for profile is none + # set default boot for profile if none if (!$pxelinux_conf->{default}) { $pxelinux_conf->{default} = $WPXENAME; $pxelinux_conf->{display} = 'messages'; $pxelinux_conf->{timeout} = '50'; $pxelinux_conf->{prompt} = '10'; +# $pxelinux_conf->{f1} = ''; } refresh_menu(); undef $w; @@ -513,7 +514,7 @@ sub edit_box_item { $data->set_text("images/$label.img"); } } elsif ($filetotest eq "auto_install") { - run_program::get_stdout("file $file") =~ /perl/ or err_dialog(N("Error!"), N("Should be a perl script")) and \return; + run_program::get_stdout("file $file") =~ /perl/ or err_dialog(N("Error!"), N("Should be a perl script")) and return; my $ip_address = network::tools::get_interface_ip_address($net, $interface); my $auto_cfg = $network::pxe::pxelinux_client_root . "/pxelinux.cfg/profiles/auto_" . $profile . "_" . $label . ".pl"; cp_af($file, $auto_cfg); -- cgit v1.2.1