diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2008-11-21 00:36:01 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2008-11-21 00:36:01 +0000 |
commit | 65a1bbca2244b3d60e1f3b6bad03d65ce8b5c45d (patch) | |
tree | caa46f14f9fa5beb4f1270067432c9a07aecd452 /etc/inc/auth.inc | |
parent | c7dba00b7ae0295ae1e136a66b98bbd20846d494 (diff) | |
download | pfsense-65a1bbca2244b3d60e1f3b6bad03d65ce8b5c45d.zip pfsense-65a1bbca2244b3d60e1f3b6bad03d65ce8b5c45d.tar.gz |
Backout last commit, /var/home is a symlinnk
Diffstat (limited to 'etc/inc/auth.inc')
-rw-r--r-- | etc/inc/auth.inc | 3 |
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);
|