Changes of Revision 29
[-] | Changed | _service:set_version:ix-inventory-system.spec |
x 1
2 %define pkgname inventory-system 3 Name: ix-inventory-system 4 Release: 0 5 -Version: 0.0.6706 6 +Version: 0.0.6708 7 Url: http://www.internetx.com/ 8 License: GPLv2 9 Group: System 10
11 %install 12 %__install -D -m755 client/%{pkgname}.sh %{buildroot}%{_sbindir}/%{pkgname} 13 %__install -D -m755 client/cron.daily %{buildroot}%{_sysconfdir}/cron.daily/inventorysystem 14 +%__install -D -m644 client/cron.reboot %{buildroot}%{_sysconfdir}/cron.d/inventory-system 15 %__install -D -m644 %{S:1} %{buildroot}%{_sysconfdir}/%{pkgname}.conf 16 %__install -d %{buildroot}/%{wwwdir} 17 %__install -D -m755 client/ix-functions.sh %{buildroot}%{_sysconfdir}/inventory-system.d/ix-functions.sh 18
19 %defattr(-,root,root) 20 %config(noreplace) %{_sysconfdir}/%{pkgname}.conf 21 %{_sysconfdir}/cron.daily/inventorysystem 22 +%{_sysconfdir}/cron.d/inventory-system 23 %{_sbindir}/%{pkgname} 24 %dir %{_sysconfdir}/inventory-system.d 25 %{_sysconfdir}/inventory-system.d/ix-functions.sh 26 |
||
[+] | Changed | _service:recompress:tar_scm:inventory-system-0.0.6708.tar.bz2/SUPPORTED_OS ^ |
@@ -2,6 +2,8 @@ CentOS 5.x CentOS 6.x Citrix XenServer 6.x +Debian 6.x +Debian 7.x RHEL 5.x RHEL 6.x SUSE Linux Enterprise 10 | ||
[+] | Changed | _service:recompress:tar_scm:inventory-system-0.0.6708.tar.bz2/client/inventory-system.sh ^ |
@@ -1,8 +1,8 @@ #!/usr/bin/env bash # Inventory System # Author: Carsten Schoene -# $LastChangedDate: 2013-10-06 11:06:31 +0200 (Sun, 06 Oct 2013) $ -# $Rev: 6703 $ +# $LastChangedDate: 2013-10-07 23:21:59 +0200 (Mon, 07 Oct 2013) $ +# $Rev: 6708 $ # # Default options (can be changed by inventory-system.conf) DEBUG="yes" @@ -583,7 +583,7 @@ # get primary network interface from default route function get_system_default_interface { [ "`is_disabled $FUNCNAME`" == "1" ] && return - INT=`${IP} -4 route show default | ${AWK} '{print $NF}'` + INT=`${IP} -4 route show default | ${AWK} '{print $5}'` case `get_system_type` in openvz) if [ "${INT}" == "venet0" ] ; then | ||
[+] | Changed | _service:set_version:ix-inventory-system.dsc ^ |
@@ -2,7 +2,7 @@ Source: ix-inventory-system Binary: ix-inventory-system Architecture: any -Version: 0.0.6706 +Version: 0.0.6708 Maintainer: Carsten Schoene <cs@linux-administrator.com> Standards-Version: 0.0.1 Build-Depends: cdbs, cmake, debhelper |