summaryrefslogtreecommitdiffstats
path: root/perl-install/printer/printerdrake.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/printer/printerdrake.pm')
-rw-r--r--perl-install/printer/printerdrake.pm3
1 files changed, 1 insertions, 2 deletions
diff --git a/perl-install/printer/printerdrake.pm b/perl-install/printer/printerdrake.pm
index 648e12498..ac490695a 100644
--- a/perl-install/printer/printerdrake.pm
+++ b/perl-install/printer/printerdrake.pm
@@ -4241,8 +4241,7 @@ sub start_network {
sub network_configured() {
# Do configured networks (/etc/sysconfig/network-scripts/ifcfg*) exist?
- my @netscripts =
- cat_("ls -1 $::prefix/etc/sysconfig/network-scripts/ |");
+ my @netscripts = all("$::prefix/etc/sysconfig/network-scripts");
my $netconfigured = 0;
(/ifcfg-/ and !/(ifcfg-lo|:|rpmsave|rpmorig|rpmnew)/ and
!/(~|\.bak)$/ and $netconfigured = 1) foreach @netscripts;