-Fix bug where console on SLES systems was not being fixed up if it had encryption support
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4214 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
f5eb80e953
commit
0aa2cfdbb7
@ -29,10 +29,8 @@ fi
|
||||
#parsing
|
||||
CONSERVER=`echo $CONSERVER|cut -d: -f 1`
|
||||
|
||||
#NOTE: on SuSE(at least SLES11), SSL is not complied in the application "console";
|
||||
#so SuSE doesn't need the configuration in the file .consolerc
|
||||
|
||||
if [ ! -f /etc/SuSE-release ]; then
|
||||
#Detect console support of SSL, only fixup consolerc if encryption is detected
|
||||
if ! console -h 2>&1 | grep "encryption not compiled" > /dev/null; then
|
||||
if [ ! -f $HOME/.consolerc ]; then
|
||||
echo 'config * {' > $HOME/.consolerc
|
||||
echo " port 782;" >> $HOME/.consolerc
|
||||
|
Loading…
x
Reference in New Issue
Block a user