diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2003-10-29 13:41:31 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2003-10-29 13:41:31 +0000 |
commit | fd4cc07cde0260835e479ed04bb65c48702567fe (patch) | |
tree | 42c13f84c8953f2d576a6677d16df827a0c72bd8 /perl-install/detect_devices.pm | |
parent | 4ce936c1340b899a9ffb22d03c67c5173d63b2c5 (diff) | |
download | drakx-backup-do-not-use-fd4cc07cde0260835e479ed04bb65c48702567fe.tar drakx-backup-do-not-use-fd4cc07cde0260835e479ed04bb65c48702567fe.tar.gz drakx-backup-do-not-use-fd4cc07cde0260835e479ed04bb65c48702567fe.tar.bz2 drakx-backup-do-not-use-fd4cc07cde0260835e479ed04bb65c48702567fe.tar.xz drakx-backup-do-not-use-fd4cc07cde0260835e479ed04bb65c48702567fe.zip |
(getUPS) detect usb UPS (serial_probe not seeing them for now)
Diffstat (limited to 'perl-install/detect_devices.pm')
-rw-r--r-- | perl-install/detect_devices.pm | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/perl-install/detect_devices.pm b/perl-install/detect_devices.pm index a4b71308b..c37aecf8a 100644 --- a/perl-install/detect_devices.pm +++ b/perl-install/detect_devices.pm @@ -425,6 +425,10 @@ sub getNet() { # mapgrep(sub {member (($_[0] =~ /\s*(\w*):/), @netdevices), $1 }, split(/\n/, cat_("/proc/net/dev"))); #} +sub getUPS() { + grep { $_->{description} =~ /Ellipse UPS/ } usb_probe() +} + $pcitable_addons = <<'EOF'; # add here lines conforming the pcitable format (0xXXXX\t0xXXXX\t"\w+"\t".*") EOF |