Changes of Revision 50
[-] | Changed | _service:set_version:inventory-system.spec |
1
2 %define pkgname inventory-system 3 Name: inventory-system 4 Release: 0 5 -Version: 0.0.rev1621 6 +Version: 0.0.rev1622 7 Url: http://www.linux-administrator.com/ 8 License: GPLv2 9 Group: System 10 |
||
[+] | Changed | _service:recompress:tar_scm:inventory-system-0.0.rev1622.tar.bz2/client/inventory-system.sh ^ |
@@ -1,8 +1,8 @@ #!/bin/bash # Inventory System # Author: Carsten Schoene -# $LastChangedDate: 2012-07-21 10:21:33 +0200 (Sat, 21 Jul 2012) $ -# $Rev: 1621 $ +# $LastChangedDate: 2012-07-21 10:36:52 +0200 (Sat, 21 Jul 2012) $ +# $Rev: 1622 $ # # Default options (can be changed by inventory-system.conf) DEBUG="yes" @@ -279,7 +279,7 @@ if [ $? == 0 ] ; then MGMTIP=`${IPMITOOL} lan print 1 | ${GREP} -E '(^IP Address) ' | ${AWK} '{print $NF}'` fi - if [ -z "${IP}" ] ; then + if [ -z "${MGMTIP}" ] ; then MGMTIP="none" fi debug "SYSTEM-MGMT-IP: ${MGMTIP}" |