Followup-For: Bug #677054

Hi,

start with lenny chroot:

installation in lenny:
/etc/nut/ is empty

distupgrade to squeeze:
331cca39153f451c2968f4b734c1cf3f  /etc/nut-l2s/nut.conf
-rw-r--r-- 1 root root  2647 Jan 21 19:48 /etc/nut-l2s/nut.conf
attached nut.conf.lenny2squeeze

Distupgrade to wheezy (prompt answered N):
331cca39153f451c2968f4b734c1cf3f  /etc/nut/nut.conf
dcc398e046d41b2fad88798f85859369  /etc/nut/nut.conf.dpkg-dist
-rw-r----- 1 root nut   2647 Jan 21 19:48 /etc/nut/nut.conf
-rw-r--r-- 1 root root  1538 Dec 22 16:27 /etc/nut/nut.conf.dpkg-dist

start with squeeze chroot:

installation in squeeze:
f9b571ae65952e3a761fac2202633478  /etc/nut-s/nut.conf
-rw-r--r-- 1 root root  1411 Jan 21 19:50 /etc/nut-s/nut.conf
attached nut.conf.squeeze

distupgrade to wheezy:
dcc398e046d41b2fad88798f85859369  /etc/nut/nut.conf
-rw-r----- 1 root nut   1538 Dec 22 16:27 /etc/nut/nut.conf
attached nut.conf.squeeze2wheezy

Hope that helps.


Andreas
# Network UPS Tools: example nut.conf
#
##############################################################################
# General section
##############################################################################
# The MODE determines which part of the NUT is to be started, and which
# configuration files must be modified.
#
# This file try to standardize the various files being found in the field, like
# /etc/default/nut on Debian based systems, /etc/sysconfig/ups on RedHat based
# systems, ... Distribution's init script should source this file to see which
# component(s) has to be started.
#
# The values of MODE can be:
# - none: NUT is not configured, or use the Integrated Power Management, or use
#   some external system to startup NUT components. So nothing is to be started.
# - standalone: This mode address a local only configuration, with 1 UPS 
#   protecting the local system. This implies to start the 3 NUT layers (driver,
#   upsd and upsmon) and the matching configuration files. This mode can also
#   address UPS redundancy.
# - netserver: same as for the standalone configuration, but also need
#   some more network access controls (firewall, tcp-wrappers) and possibly a
#   specific LISTEN directive in upsd.conf.
#   Since this MODE is opened to the network, a special care should be applied
#   to security concerns.
# - netclient: this mode only requires upsmon.

MODE=none

# set upsd specific options. use "man upsd" for more info
UPSD_OPTIONS=""


# set upsmon specific options. use "man upsmon" for more info
UPSMON_OPTIONS=""

# At the end of an emergency system halt, the upsmon master will signal the
# UPS to switch off. This may fail for any number of reasons, however, most
# notably if line power returns during the shutdown process. (See the
# section "Power races" in /usr/share/doc/nut/docs/shutdown.txt.gz)
#
# The system will wait this long for the UPS to cut power, and then reboot.
# It should be long enough to exhaust the batteries (in case line power
# continues to be unavailable), but not so long that the system remains
# offline for an unreasonable amount of time (if line power has returned).
#
# See the sleep(1) man page for compatible time syntax. If you specify the
# time in seconds, use the "s" suffix.
#
###########################################################################
################################# WARNING #################################
###########################################################################
# this workaround might be dangerous under some circumstances
# Please read http://bugs.debian.org/358696 for more details
#
#POWEROFF_WAIT=15m

# Network UPS Tools: example nut.conf
#
##############################################################################
# General section
##############################################################################
# The MODE determines which part of the NUT is to be started, and which
# configuration files must be modified.
#
# This file try to standardize the various files being found in the field, like
# /etc/default/nut on Debian based systems, /etc/sysconfig/ups on RedHat based
# systems, ... Distribution's init script should source this file to see which
# component(s) has to be started.
#
# The values of MODE can be:
# - none: NUT is not configured, or use the Integrated Power Management, or use
#   some external system to startup NUT components. So nothing is to be started.
# - standalone: This mode address a local only configuration, with 1 UPS 
#   protecting the local system. This implies to start the 3 NUT layers (driver,
#   upsd and upsmon) and the matching configuration files. This mode can also
#   address UPS redundancy.
# - netserver: same as for the standalone configuration, but also need
#   some more network access controls (firewall, tcp-wrappers) and possibly a
#   specific LISTEN directive in upsd.conf.
#   Since this MODE is opened to the network, a special care should be applied
#   to security concerns.
# - netclient: this mode only requires upsmon.

MODE=none
# Network UPS Tools: example nut.conf
#
##############################################################################
# General section
##############################################################################
# The MODE determines which part of the NUT is to be started, and which
# configuration files must be modified.
#
# This file try to standardize the various files being found in the field, like
# /etc/default/nut on Debian based systems, /etc/sysconfig/ups on RedHat based
# systems, ... Distribution's init script should source this file to see which
# component(s) has to be started.
#
# The values of MODE can be:
# - none: NUT is not configured, or use the Integrated Power Management, or use
#   some external system to startup NUT components. So nothing is to be started.
# - standalone: This mode address a local only configuration, with 1 UPS 
#   protecting the local system. This implies to start the 3 NUT layers (driver,
#   upsd and upsmon) and the matching configuration files. This mode can also
#   address UPS redundancy.
# - netserver: same as for the standalone configuration, but also need
#   some more network access controls (firewall, tcp-wrappers) and possibly a
#   specific LISTEN directive in upsd.conf.
#   Since this MODE is opened to the network, a special care should be applied
#   to security concerns.
# - netclient: this mode only requires upsmon.
#
# IMPORTANT NOTE:
#  This file is intended to be sourced by shell scripts.
#  You MUST NOT use spaces around the equal sign!

MODE=none

Reply via email to