~iheino+ub/+junk/nut-upsconf-docfix

« back to all changes in this revision

Viewing changes to debian/patches/0009-ups-conf-reorder.patch

  • Committer: Tuomas Heino
  • Date: 2014-12-26 17:49:13 UTC
  • Revision ID: iheino+ub@cc.hut.fi-20141226174913-wnn8os40b20klen8
debian/patches/0009-ups-conf-reorder.patch: Move maxretry setting
above Examples section, closer to the "outside of a driver definition"
comment.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
## Description: add some description
 
2
## Origin/Author: add some origin or author
 
3
## Bug: bug URL
 
4
Index: debian/conf/ups.conf.sample
 
5
===================================================================
 
6
--- debian.orig/conf/ups.conf.sample    2014-12-26 19:23:49.674380000 +0200
 
7
+++ debian/conf/ups.conf.sample 2014-12-26 19:35:12.057506133 +0200
 
8
@@ -96,7 +96,10 @@
 
9
 #
 
10
 # Anything else is passed through to the hardware-specific part of
 
11
 # the driver.
 
12
-# 
 
13
+
 
14
+# Set maxretry to 3 by default, this should mitigate race with slow devices:
 
15
+maxretry = 3
 
16
+
 
17
 # Examples
 
18
 # --------
 
19
 #
 
20
@@ -120,6 +123,3 @@
 
21
 #
 
22
 # To find out if your driver supports any extra settings, start it with
 
23
 # the -h option and/or read the driver's documentation.
 
24
-
 
25
-# Set maxretry to 3 by default, this should mitigate race with slow devices:
 
26
-maxretry = 3