File: templates

package info (click to toggle)
nut 0.45.5-rel-1
  • links: PTS
  • area: main
  • in suites: woody
  • size: 1,984 kB
  • ctags: 2,146
  • sloc: ansic: 22,216; sh: 1,138; makefile: 405
file content (35 lines) | stat: -rw-r--r-- 1,706 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
Template: nut/remove_debian_conf
Type: boolean
Description: Remove obsolete /etc/nut/debian.conf file?
 The upstream author has changed the behaviour of upsd and upsmon. This has
 necessitated modifications in /etc/init.d/nut, the start up script for the
 daemons. The init script no longer looks for /etc/nut/debian.conf. Instead
 it reads /etc/nut/upsd.conf and /etc/nut/upsmon.conf directly.
 .
 Therefore, /etc/init.d/debian.conf will be removed. Note that in order to
 get upsmon to work, you will have to modify /etc/nut/upsmon.conf by adding
 a MONITOR line. Please read the instructions in
 /usr/share/doc/nut/README.Debian.

Template: nut/major_conf_changes
Type: boolean
Description: Please manually modify your configuration files! Continue?  
 This is a serious advisory. Please take note.
 .
 There has been a significant change by the upstream author to the syntax of
 the UPS lines in the /etc/nut/upsd.conf configuration file. The init script
 in this package takes advantage of this new syntax. You will need to manually
 modify your configuration file in order for the init script to work.
 .
 There has been a significant change to the syntax of the SHUTDOWNCMD line
 in the /etc/nut/upsmon.conf file. The SHUTDOWNCMD must use "quotes" around
 the command or only the first word will be invoked. The new style is:
   SHUTDOWNCMD "/sbin/shutdown -h"

Template: nut/change_system_user
Type: note
Description: Remove user "nut" from dialout group. Continue?
 The system user, "nut", will be removed from the dialout group.  A new system
 group, "nut", will be created.  Users must manually change the permissions on
 the serial port devices, /dev/ttyS*, to permit access by the nut group.