diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2008-11-21 00:35:13 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2008-11-21 00:35:13 +0000 |
commit | c7dba00b7ae0295ae1e136a66b98bbd20846d494 (patch) | |
tree | b45cb1affaf7a443c054606e0f16231d5409f28b /etc/inc/auth.inc | |
parent | 56c17018f43deca6730925d4b6e89db4ad218b71 (diff) | |
download | pfsense-c7dba00b7ae0295ae1e136a66b98bbd20846d494.zip pfsense-c7dba00b7ae0295ae1e136a66b98bbd20846d494.tar.gz |
Use /home, even for embedded
Diffstat (limited to 'etc/inc/auth.inc')
-rw-r--r-- | etc/inc/auth.inc | 3 |
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);
|