]> git.pld-linux.org Git - packages/nut.git/commitdiff
- added /etc/sysconfig/upsmon to customize options of upsmon daemon auto/ac/nut-2_0_1-7
authorMarcin Krzyżanowski <marcin.krzyzanowski@hakore.com>
Tue, 16 Nov 2004 09:19:57 +0000 (09:19 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- rel 7

Changed files:
    nut.spec -> 1.91

nut.spec

index 167f236c207019d3d812913b10ba15837e965e2c..1182bf0c9d83df8fd14f89a9b9a7301ae833c124 100644 (file)
--- a/nut.spec
+++ b/nut.spec
@@ -6,7 +6,7 @@ Summary:        Network UPS Tools
 Summary(pl):   Sieciowe narzêdzie do UPS-ów
 Name:          nut
 Version:       2.0.1
-Release:       6
+Release:       7
 License:       GPL
 Group:         Applications/System
 Source0:       http://eu1.networkupstools.org/source/2.0/testing/%{name}-%{version}-pre4.tar.gz
@@ -15,6 +15,7 @@ Source0:      http://eu1.networkupstools.org/source/2.0/testing/%{name}-%{version}-pr
 Source1:       %{name}.init
 Source2:       %{name}.sysconfig
 Source3:       %{name}-upsmon.init
+Source4:       %{name}.sysconfig.upsmon
 Patch0:                %{name}-client.patch
 Patch1:                %{name}-datadir.patch
 Patch2:                %{name}-config.patch
@@ -195,6 +196,7 @@ install -d $RPM_BUILD_ROOT{/sbin,/etc/{sysconfig,rc.d/init.d},/var/lib/ups} \
 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/ups
 install %{SOURCE2} $RPM_BUILD_ROOT/etc/sysconfig/ups
 install %{SOURCE3} $RPM_BUILD_ROOT/etc/rc.d/init.d/upsmon
+install %{SOURCE4} $RPM_BUILD_ROOT/etc/sysconfig/upsmon
 
 rm -rf $RPM_BUILD_ROOT%{_sysconfdir}/*
 install conf/*.users conf/*.conf conf/*.html $RPM_BUILD_ROOT%{_sysconfdir}
@@ -317,6 +319,7 @@ fi
 %attr(754,root,root) /etc/rc.d/init.d/upsmon
 %attr(600,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/upsmon.conf
 %attr(600,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/upssched.conf
+%config(noreplace) %verify(not size mtime md5) /etc/sysconfig/upsmon
 %{_mandir}/man5/upsmon.conf.5*
 %{_mandir}/man5/upssched.conf.5*
 %{_mandir}/man8/upsc.8*
This page took 0.229306 seconds and 4 git commands to generate.