summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2008-11-21 00:36:01 +0000
committerScott Ullrich <sullrich@pfsense.org>2008-11-21 00:36:01 +0000
commit65a1bbca2244b3d60e1f3b6bad03d65ce8b5c45d (patch)
treecaa46f14f9fa5beb4f1270067432c9a07aecd452 /etc
parentc7dba00b7ae0295ae1e136a66b98bbd20846d494 (diff)
downloadpfsense-65a1bbca2244b3d60e1f3b6bad03d65ce8b5c45d.zip
pfsense-65a1bbca2244b3d60e1f3b6bad03d65ce8b5c45d.tar.gz
Backout last commit, /var/home is a symlinnk
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/auth.inc3
1 files changed, 1 insertions, 2 deletions
diff --git a/etc/inc/auth.inc b/etc/inc/auth.inc
index eea2ab5..b371a81 100644
--- a/etc/inc/auth.inc
+++ b/etc/inc/auth.inc
@@ -182,8 +182,7 @@ function local_sync_accounts() {
function local_user_set(& $user) {
global $g, $debug;
- $home_base = "/home";
-
+ $home_base = $g['platform'] == "pfSense" ? "/home" : "/var/home";
if (!is_dir($home_base))
mkdir($home_base, 0755);
OpenPOWER on IntegriCloud