diff options
Diffstat (limited to 'make_boot_img')
-rwxr-xr-x | make_boot_img | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/make_boot_img b/make_boot_img index 71ebf2277..64bcfe013 100755 --- a/make_boot_img +++ b/make_boot_img @@ -116,8 +116,7 @@ sub initrd { _ "$sudo mknod $mnt/dev/ttyp0 c 3 0"; } - my $ftype = $type =~ /^(all)$/ ? "pcmcia" : $type; - if ($ftype eq "pcmcia" && $arch !~ /ppc/ && $arch !~ /ia64/) { + if (member($type, qw(pcmcia all network)) && $arch !~ /ppc/ && $arch !~ /ia64/) { _ "$sudo cp -a /etc/pcmcia $mnt/etc"; patch_pcmcia_config("$mnt/etc"); } |