summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/standalone')
-rwxr-xr-xperl-install/standalone/drakroam4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/standalone/drakroam b/perl-install/standalone/drakroam
index 8d6f640a0..e46de2454 100755
--- a/perl-install/standalone/drakroam
+++ b/perl-install/standalone/drakroam
@@ -59,9 +59,9 @@ my %available_roaming_daemons = (
my ($config) = @_;
each_index {
/^#/ || /^\n/ and next; #ignore comments and blank lines
- if (/([^ \t]+)([ \t]+)(.*)/) {
+ if (/^(\S+)\s+(.*)$/) {
my ($essid, $mode, $channel, $key, $dhcp);
- my $command = $3;
+ my $command = $2;
# setup new network entry
$essid = $1;
($mode) = $command =~ /mode\s([^\s;]+)/;