Tuesday, September 28, 2010

Proventia Server for Linux

I was very happy when I found out there's a Provetia Server for Linux. But, there are 2 limitations:
- it's only installable on RHEL which I thought I could easily pass by modifying the install script
- it only wants s390x architecture...say what?!

So, to be more exact, this is the check in the install script:


function CheckOSSupport {
# Check whether the platform is supported or not
HW=`uname -m`
if [ $OS_NAME == "RHELREL" ]; then
if [ $HW == "s390x" ]; then
$GREP -q 'Red Hat Enterprise Linux Server release 5' /etc/redhat-release
if [ $? -ne 0 ]; then
bail_out
fi
else
$GREP -q 'Red Hat Enterprise Linux [EA]S release 4' /etc/redhat-release
if [ $? -ne 0 ]; then
$GREP -q 'Red Hat Enterprise Linux Server release 5' /etc/redhat-release
if [ $? -ne 0 ]; then
bail_out
fi
fi
fi
fi
if [ $OS_NAME == "SUSEREL" ]; then
VERSION=`$GREP VERSION /etc/SuSE-release | tr -d ' ' | cut -f2 -d'='`
if [ $VERSION -le 9 ]; then
bail_out
fi
fi
}

1 comment:

  1. Anybody who has something sensible or worthwhile to say should be able to say it calmly and soberly, relying on the words themselves
    to convey his meaning, without resorting to yelling. See the link below for more info.


    #calmly
    www.ufgop.org

    ReplyDelete