+lsb (3.1-18) unstable; urgency=low
+
+ * etch will be Debian 4.0, not Debian 3.2. (Closes: #395004)
+ * Don't quote $@ in start-stop-daemon calls, which should resolve issues
+ with multiple/quoted arguments to the daemon in start_daemon().
+ (Closes: #388836)
+ * Revert to testing for a fancy TTY before trying to call tput and friends,
+ to avoid crap spewage on shutdown. (Closes: #390363, #391981)
+
+ -- Chris Lawrence <lawrencc@debian.org> Fri, 27 Oct 2006 01:18:56 -0500
+
lsb (3.1-17) unstable; urgency=low
* Set FANCYTTY to a null string to cope with init scripts that for some
exec="$1"; shift
if [ $force = 1 ]; then
- /sbin/start-stop-daemon --start --nicelevel $nice --quiet --startas $exec --pidfile /dev/null --oknodo -- "$@"
+ /sbin/start-stop-daemon --start --nicelevel $nice --quiet --startas $exec --pidfile /dev/null --oknodo -- $@
elif [ $pidfile ]; then
- /sbin/start-stop-daemon --start --nicelevel $nice --quiet --exec $exec --oknodo --pidfile "$pidfile" -- "$@"
+ /sbin/start-stop-daemon --start --nicelevel $nice --quiet --exec $exec --oknodo --pidfile "$pidfile" -- $@
else
- /sbin/start-stop-daemon --start --nicelevel $nice --quiet --exec $exec --oknodo -- "$@"
+ /sbin/start-stop-daemon --start --nicelevel $nice --quiet --exec $exec --oknodo -- $@
fi
}
log_use_fancy_output () {
TPUT=/usr/bin/tput
EXPR=/usr/bin/expr
- if [ -z $FANCYTTY ]; then
- if [ "x$TERM" != "xdumb" ] && [ -x $TPUT ] && [ -x $EXPR ] && $TPUT hpa 60 >/dev/null 2>&1 && $TPUT setaf 1 >/dev/null 2>&1; then
- FANCYTTY=1
- else
- FANCYTTY=0
- fi
+ if [ "x$TERM" != "xdumb" ] && [ -x $TPUT ] && [ -x $EXPR ] && $TPUT hpa 60 >/dev/null 2>&1 && $TPUT setaf 1 >/dev/null 2>&1; then
+ [ -z $FANCYTTY ] && FANCYTTY=1
+ else
+ FANCYTTY=0
fi
case "$FANCYTTY" in
1|Y|yes|true) true;;
'2.2' : 'potato',
'3.0' : 'woody',
'3.1' : 'sarge',
- '3.2' : 'etch', # XXX - may not end up as 3.2
+ '4.0' : 'etch', # XXX - may not end up as 3.2
}
TESTING_CODENAME = 'etch'