HEX
Server: LiteSpeed
System: Linux ip-172-31-76-142.ec2.internal 4.14.158-129.185.amzn2.x86_64 #1 SMP Tue Dec 24 03:15:32 UTC 2019 x86_64
User: 69b4844ae61d4e92bf26ad98af552775 (1065)
PHP: 7.2.27
Disabled: exec,passthru,shell_exec,system,eval
Upload Files
File: //usr/bin/net-snmp-config
#!/bin/sh
#
# net-snmp-config
#
# this shell script is designed to merely dump the configuration
# information about how the net-snmp package was compiled.  The
# information is particularily useful for applications that need to
# link against the net-snmp libraries and hence must know about any
# other libraries that must be linked in as well.

# this particular shell script calls arch specific script to avoid
# multilib conflicts

# Supported arches ix86 ia64 ppc ppc64 s390 s390x x86_64 alpha sparc sparc64

arch=`arch`
echo $arch | grep -q i.86
if [ $? -eq 0 ] ; then
    net-snmp-config-i386 $*
    exit 0
fi
if [ "$arch" = "ia64" ] ; then
    net-snmp-config-ia64 $*
    exit 0
fi
if [ "$arch" = "ppc" ] ; then
    net-snmp-config-ppc $*
    exit 0
fi
if [ "$arch" = "ppc64" ] ; then
    net-snmp-config-ppc64 $*
    exit 0
fi
if [ "$arch" = "s390" ] ; then
    net-snmp-config-s390 $*
    exit 0
fi
if [ "$arch" = "s390x" ] ; then
    net-snmp-config-s390x $*
    exit 0
fi
if [ "$arch" = "x86_64" ] ; then
    net-snmp-config-x86_64 $*
    exit 0
fi
if [ "$arch" = "alpha" ] ; then
    net-snmp-config-alpha $*
    exit 0
fi
if [ "$arch" = "sparc" ] ; then
    net-snmp-config-sparc $*
    exit 0
fi
if [ "$arch" = "sparc64" ] ; then
    net-snmp-config-sparc64 $*
    exit 0
fi
echo "Cannot determine architecture"