Fix for defect 3405954: Fix bashisms in mkresolvconf.
Checking in on behalf of coworker Leonardo Tonetto (leont@br.ibm.com). git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10469 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
b52c6611b0
commit
fe33c68cee
@ -19,7 +19,7 @@ master=$MASTER # this is the ip for the nodes xcatmaster attribute
|
||||
domain=$DOMAIN # this is the domain name used in this cluster
|
||||
node=$NODE
|
||||
|
||||
if [[ -n "$master" ]] && [[ -n "$domain" ]]; then
|
||||
if [ -n "$master" ] && [ -n "$domain" ]; then
|
||||
|
||||
#logger -t xcat "Created /etc/resolv.conf file on $node."
|
||||
cp $conf_file $conf_file_bak > /dev/null 2>&1
|
||||
|
Loading…
Reference in New Issue
Block a user