Package: fence
Version: 0.trunk20050206-1
Severity: wishlist
Tags: patch

I have updated the fence init.d script so that it works a bit better now. 

#! /bin/sh

PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
DESC="fencing domain"

test -x /sbin/fence_tool || exit 0

if [ -f /etc/default/fence ] ; then
        . /etc/default/fence
fi

set -e

case "$1" in
  start)
        echo -n "Starting $DESC: "
        fence_tool join
        echo "."
        ;;
  stop)
        echo -n "Stopping $DESC: "
        fence_tool leave
        echo "."
        ;;
  restart|force-reload)
        ;;
  *)
        N=/etc/init.d/$NAME
        echo "Usage: $N {start|stop}" >&2
        exit 1
        ;;
esac

exit 0


-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (300, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.12-1-686-smp-gcc3.3
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)

Versions of packages fence depends on:
ii  cman                   0.trunk20050206-1 Cluster manager
ii  libc6                  2.3.2.ds1-22      GNU C Library: Shared libraries an

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to