]> git.pld-linux.org Git - packages/nut.git/commitdiff
- upssched-cmd should be in _sysconfdir (not _sbindir)
authorSzymon Siwek <sls@pld-linux.org>
Thu, 26 Jul 2007 12:18:17 +0000 (12:18 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    nut-upssched-cmd-sysconf.patch -> 1.1

nut-upssched-cmd-sysconf.patch [new file with mode: 0644]

diff --git a/nut-upssched-cmd-sysconf.patch b/nut-upssched-cmd-sysconf.patch
new file mode 100644 (file)
index 0000000..634908d
--- /dev/null
@@ -0,0 +1,23 @@
+--- nut-2.2.0/clients/Makefile.am.orig 2007-07-25 16:53:40.493327586 +0000
++++ nut-2.2.0/clients/Makefile.am      2007-07-25 16:53:51.491649721 +0000
+@@ -7,7 +7,7 @@
+ AM_CFLAGS = -I$(top_srcdir)/include $(LIBSSL_CFLAGS) $(LIBGD_CFLAGS)
+ bin_PROGRAMS = upsc upslog upsrw upscmd
+-dist_sbin_SCRIPTS = upssched-cmd
++dist_sysconf_DATA = upssched-cmd
+ sbin_PROGRAMS = upsmon upssched
+ if WITH_LIB
+  lib_LTLIBRARIES = libupsclient.la
+diff -Nuard nut-2.0.1.orig/conf/upssched.conf nut-2.0.1/conf/upssched.conf
+--- nut-2.0.1.orig/conf/upssched.conf  2004-10-26 11:50:12.410074640 +0200
++++ nut-2.0.1/conf/upssched.conf.sample        2004-10-26 11:50:23.295419816 +0200
+@@ -14,7 +14,7 @@
+ # A shell script with a big case..esac construct should work nicely for this.
+ # An example has been provided to help you get started.
+-CMDSCRIPT /usr/sbin/upssched-cmd
++CMDSCRIPT /etc/ups/upssched-cmd
+ # ============================================================================
+ #
This page took 0.178895 seconds and 4 git commands to generate.