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