]> git.pld-linux.org Git - packages/nut.git/commitdiff
- configuration fit to installation
authorMarcin Krzyżanowski <marcin.krzyzanowski@hakore.com>
Tue, 26 Oct 2004 09:57:12 +0000 (09:57 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    nut-config.patch -> 1.3

nut-config.patch [new file with mode: 0644]

diff --git a/nut-config.patch b/nut-config.patch
new file mode 100644 (file)
index 0000000..268b6dc
--- /dev/null
@@ -0,0 +1,24 @@
+diff -Nuard nut-2.0.1.orig/conf/upsmon.conf nut-2.0.1/conf/upsmon.conf
+--- nut-2.0.1.orig/conf/upsmon.conf    2004-10-26 11:50:12.410074640 +0200
++++ nut-2.0.1/conf/upsmon.conf 2004-10-26 11:51:12.681911928 +0200
+@@ -27,7 +27,7 @@
+ #
+ # This user should not have write access to upsmon.conf.
+ #
+-# RUN_AS_USER nutmon
++# RUN_AS_USER ups
+ # --------------------------------------------------------------------------
+ # MONITOR <system> <powervalue> <username> <password> ("master"|"slave")
+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       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/local/ups/bin/upssched-cmd
++CMDSCRIPT /usr/sbin/upssched-cmd
+ # ============================================================================
+ #
This page took 0.907286 seconds and 4 git commands to generate.