summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone/drakups
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/standalone/drakups')
-rwxr-xr-xperl-install/standalone/drakups4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/standalone/drakups b/perl-install/standalone/drakups
index b350bb922..a52384e67 100755
--- a/perl-install/standalone/drakups
+++ b/perl-install/standalone/drakups
@@ -142,8 +142,8 @@ Please fill in its name, its driver and its port.", $model, $vendor);
[
{ label => N("Name:"), val => \$name, help => N("The name of your ups") },
{ label => N("Driver:"), val => \$driver, help => N("The driver that manages your ups") },
- { label => N("Port:"), val => \$port, format => \&mouse::serial_port2text, type => "combo",
- list => [ &mouse::serial_ports() ], not_edit => 0,
+ { label => N("Port:"), val => \$port, format => \&detect_devices::serialPort2text, type => "combo",
+ list => [ &detect_devices::serialPorts() ], not_edit => 0,
help => N("The port on which is connected your ups") },
];
},