summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/standalone')
-rwxr-xr-xperl-install/standalone/drakups5
1 files changed, 4 insertions, 1 deletions
diff --git a/perl-install/standalone/drakups b/perl-install/standalone/drakups
index a5a0c9206..488937fb8 100755
--- a/perl-install/standalone/drakups
+++ b/perl-install/standalone/drakups
@@ -149,7 +149,10 @@ Please fill in its name, its driver and its port.", $model, $vendor);
help => N("The port on which is connected your ups") },
];
},
- next => "end",
+ post => sub {
+ $port = '/dev/' . $port if $port !~ m!/dev/!;
+ return 'end',
+ },
},
end => {
name => sub {