diff options
Diffstat (limited to 'perl-install')
-rw-r--r-- | perl-install/fs.pm | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/perl-install/fs.pm b/perl-install/fs.pm index 63e03f542..4ebf33f37 100644 --- a/perl-install/fs.pm +++ b/perl-install/fs.pm @@ -196,17 +196,7 @@ sub prepare_write_fstab { my ($all_hds, $prefix, $keep_smb_credentials) = @_; $prefix ||= ''; - my @l1 = (fsedit::get_really_all_fstab($all_hds), @{$all_hds->{special}}); - my @l2 = read_fstab($prefix, "/etc/fstab", 'all_options'); - - { - #- remove entries from @l2 that are given by @l1 - #- this is needed to allow to unset a mount point - my %new; - $new{$_->{device}} = 1 foreach @l1; - delete $new{none}; #- special case for device "none" which can be _mounted_ more than once - @l2 = grep { !$new{$_->{device}} } @l2; - } + my @l_in = (fsedit::get_really_all_fstab($all_hds), @{$all_hds->{special}}); my %new; my @smb_credentials; @@ -270,7 +260,7 @@ sub prepare_write_fstab { } else { () } - } grep { $_->{device} && ($_->{mntpoint} || $_->{real_mntpoint}) && $_->{type} } (@l1, @l2); + } grep { $_->{device} && ($_->{mntpoint} || $_->{real_mntpoint}) && Here is a short description to configure a PXE server using dhcpd and tftpd.
This allows a network boot for your ethernet card conforming to the Interl
PXE specification.
********************************************************************************ooter'>generated by cgit v1.2.1 (git 2.21.0) at 2025-01-21 03:34:35 +0000
|