summaryrefslogtreecommitdiffstats
path: root/perl-install/network
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2005-08-05 13:48:02 +0000
committerOlivier Blin <oblin@mandriva.org>2005-08-05 13:48:02 +0000
commit093e90a03b5b5838615dbf604e6bce4ddb3e2074 (patch)
treec8433b7cecdb8393b15737b0ea49875f4c86f563 /perl-install/network
parente840dfdc1f9cb640007a7dd52c1d0bbeab533f44 (diff)
downloaddrakx-backup-do-not-use-093e90a03b5b5838615dbf604e6bce4ddb3e2074.tar
drakx-backup-do-not-use-093e90a03b5b5838615dbf604e6bce4ddb3e2074.tar.gz
drakx-backup-do-not-use-093e90a03b5b5838615dbf604e6bce4ddb3e2074.tar.bz2
drakx-backup-do-not-use-093e90a03b5b5838615dbf604e6bce4ddb3e2074.tar.xz
drakx-backup-do-not-use-093e90a03b5b5838615dbf604e6bce4ddb3e2074.zip
handle prefix
Diffstat (limited to 'perl-install/network')
-rw-r--r--perl-install/network/wireless.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/network/wireless.pm b/perl-install/network/wireless.pm
index 784d45851..71ae597e3 100644
--- a/perl-install/network/wireless.pm
+++ b/perl-install/network/wireless.pm
@@ -210,9 +210,9 @@ sub wpa_supplicant_write_conf {
$buf .= "}\n";
}
- output($wpa_supplicant_conf, $buf);
+ output($::prefix . $wpa_supplicant_conf, $buf);
#- hide keys for non-root users
- chmod 0600, $wpa_supplicant_conf;
+ chmod 0600, $::prefix . $wpa_supplicant_conf;
}
1;