Debian release 2.6.2-1

This commit is contained in:
Arnaud Quette 2011-09-29 20:17:51 +02:00
parent 56b9da25f1
commit 18de36389b
5 changed files with 28 additions and 21 deletions

View file

@ -1,8 +1,8 @@
#! /bin/sh
### BEGIN INIT INFO
# Provides: nut
# Required-Start: $local_fs $syslog $network $remote_fs
# Required-Stop: $local_fs $syslog $network $remote_fs
# Required-Start: $local_fs $syslog $network $remote_fs udev
# Required-Stop: $local_fs $syslog $network $remote_fs udev
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: Network UPS Tools initscript
@ -17,7 +17,6 @@ PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/local/sbin:/usr/local/bin
NAME=nut
DESC="Network UPS Tools"
DEFAULT=/etc/default/nut
CONFIG=/etc/nut/nut.conf
. /lib/lsb/init-functions
@ -28,11 +27,6 @@ UPSD_OPTIONS=""
# set upsmon specific options. use "man upsmon" for more info
UPSMON_OPTIONS=""
# Include defaults if available (transition period)
if [ -f $DEFAULT ] ; then
. $DEFAULT
fi
# Include NUT nut.conf
if [ -f $CONFIG ] ; then
. $CONFIG