Commit 7856f2f7 authored by Mike Hibler's avatar Mike Hibler

Use .profile rather than .cshrc as an indication of a populated directory.

parent 13d74b43
......@@ -459,7 +459,7 @@ sub os_useradd($$$$$$$$$)
# Locally, if directory exists and is populated, skip -m
# cause FreeBSD copies files in anyway!
$args .= "-m "
if (! -d $homedir || ! -e "$homedir/.cshrc");
if (! -d $homedir || ! -e "$homedir/.profile");
}
else {
# populate on remote nodes. At some point will tar files over.
......
......@@ -1111,7 +1111,7 @@ sub os_useradd_real($$$$$$$$$)
# Locally, if directory exists and is populated, skip -m
# and make sure no attempt is made to create.
if (! -d $homedir || ! -e "$homedir/.cshrc") {
if (! -d $homedir || ! -e "$homedir/.profile") {
$args .= "-m ";
}
else {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment