summaryrefslogtreecommitdiffstats
path: root/perl-install/network
diff options
context:
space:
mode:
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;