Changes of Revision 27
[-] [+] | Changed | _service:set_version:inventory-system.spec |
[-] [+] | Changed | _service:recompress:tar_scm:inventory-system-0.0.rev1480.tar.bz2/client/inventory-system.sh ^ |
@@ -20,6 +20,7 @@ grep sort tail +head expr ifconfig ethtool @@ -101,16 +102,14 @@ function get_iface_name_from_mac { MAC=${1} debug ${MAC} - ${IFCONFIG} -a | ${GREP} -i ${MAC} | ${AWK} '{print $1}' + ${IFCONFIG} -a | ${GREP} -i ${MAC} | ${AWK} '{print $1}' | ${HEAD} -n1 } # get link state for interface from ethtool function get_iface_link_state { - IFACES=${1} - for IFACE in ${IFACES} ; do - debug ${IFACE} - ${ETHTOOL} ${IFACE} | ${GREP} -i "Link detected:" | ${AWK} '{print tolower($NF)}' - done + IFACE=${1} + debug ${IFACE} + ${ETHTOOL} ${IFACE} | ${GREP} -i "Link detected:" | ${AWK} '{print tolower($NF)}' } # get system cpu type | ||
[-] [+] | Changed | _service:recompress:tar_scm:inventory-system-0.0.rev1480.tar.bz2/server/config.inc.php ^ |
@@ -1,5 +1,5 @@ <?php -$config["isdf"]["postvars"] = array("get_system_uuid","get_system_serial","get_system_cpu","get_system_memory","get_system_manufacturer","get_system_productname","get_system_biosversion","get_system_net_info","get_system_running_type","get_system_kernelversion","get_system_arch","get_system_os"); +$config["isdf"]["postvars"] = array("get_system_uuid","get_system_serial","get_system_cpu","get_system_memory","get_system_manufacturer","get_system_productname","get_system_biosversion","get_system_net_info","get_system_type","get_system_kernelversion","get_system_arch","get_system_os"); ?> |