summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/standalone')
-rwxr-xr-xperl-install/standalone/drakTermServ3
1 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/standalone/drakTermServ b/perl-install/standalone/drakTermServ
index 7c56c650c..2af1c1e5a 100755
--- a/perl-install/standalone/drakTermServ
+++ b/perl-install/standalone/drakTermServ
@@ -448,7 +448,8 @@ sub make_nbis() {
my $buff = N("Creating net boot images for all kernels");
$in->ask_warn(N("Information"), N("This will take a few minutes."));
cursor_wait();
- system("/usr/bin/mknbi-set");
+ my @kernels = grep { /vmlinuz-/ } all("/boot");
+ system("/usr/bin/mknbi-set -k /boot/$_") foreach @kernels;
cursor_norm();
$buff .= "\n\n\t" . N("Done!");
text_view($buff, "wizard");