~ubuntu-branches/ubuntu/maverick/redhat-cluster/maverick

« back to all changes in this revision

Viewing changes to fence/agents/manual/fence_ack_manual.sh

  • Committer: Bazaar Package Importer
  • Author(s): Fabio M. Di Nitto
  • Date: 2008-02-27 06:22:11 UTC
  • mfrom: (1.1.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20080227062211-vim9c687m2w67qvd
Tags: 2.20080227-0ubuntu1
This is not really a new version.

Upstream development did halt for a couple of weeks to switch from
CVS to git. Recreate a new orig.tar.gz to get rid of CVS dirs and
import two more bug fixes from upstream.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#!/bin/bash
2
2
#
3
 
# Dummy fence_ack_manual which uses the fenced manual override
4
 
# socket to communicate.
 
3
###############################################################################
 
4
###############################################################################
 
5
##
 
6
##  COPYRIGHT (C) 2007 RED HAT, INC.
 
7
##  
 
8
##  THIS COPYRIGHTED MATERIAL IS MADE AVAILABLE TO ANYONE WISHING TO USE,
 
9
##  MODIFY, COPY, OR REDISTRIBUTE IT SUBJECT TO THE TERMS AND CONDITIONS
 
10
##  OF THE GNU GENERAL PUBLIC LICENSE V.2.
 
11
##
 
12
###############################################################################
 
13
###############################################################################
 
14
#
 
15
# Manual override after fencing has failed.
5
16
#
6
17
 
7
18
if [ "$1" = "-n" ]; then
8
19
        shift
9
20
fi
10
21
 
11
 
if [ -z "$1" ]; then
 
22
if [ -z "$1" ] || [ "$1" = "-h" ]; then
12
23
        echo "usage:"
13
24
        echo "  $0 <nodename>"
14
25
        echo "  $0 -n <nodename>"