Change check to OS type to setup root's home
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@320 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
66a9cb639c
commit
6c18d06a92
@ -3,7 +3,12 @@
|
||||
#egan@us.ibm.com
|
||||
#(C)IBM Corp
|
||||
#
|
||||
my $homedir = $::ENV{'HOME'};
|
||||
my $homedir ;
|
||||
if ($^O =~ /^aix/i) { # AIX
|
||||
$homedir="/";
|
||||
} else { # LINUX
|
||||
$homedir="/root";
|
||||
}
|
||||
if (-r "/etc/ssh/sshd_config")
|
||||
{ # readable
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user