summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2005-01-20 16:18:10 +0000
committerPascal Rigaux <pixel@mandriva.com>2005-01-20 16:18:10 +0000
commitc58d0d8d768abdebd6345f675b11c11fcf58c995 (patch)
tree6610c2d84e6a82bfab84972dc0c5fc824cad0e6f
parent5ed5a43233be8b4d751186825a2e57884f14e72d (diff)
downloaddrakx-backup-do-not-use-c58d0d8d768abdebd6345f675b11c11fcf58c995.tar
drakx-backup-do-not-use-c58d0d8d768abdebd6345f675b11c11fcf58c995.tar.gz
drakx-backup-do-not-use-c58d0d8d768abdebd6345f675b11c11fcf58c995.tar.bz2
drakx-backup-do-not-use-c58d0d8d768abdebd6345f675b11c11fcf58c995.tar.xz
drakx-backup-do-not-use-c58d0d8d768abdebd6345f675b11c11fcf58c995.zip
add lspcidrake
-rw-r--r--perl-install/commands.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/commands.pm b/perl-install/commands.pm
index 8b0492786..4176766f3 100644
--- a/perl-install/commands.pm
+++ b/perl-install/commands.pm
@@ -423,7 +423,8 @@ sub kill {
kill $signal, @_ or die "kill failed: $!\n";
}
-sub lspci() {
+sub lspci() { lspcidrake() }
+sub lspcidrake() {
require detect_devices;
print join "\n", detect_devices::stringlist(), '';
}