~ubuntu-branches/ubuntu/vivid/ctdb/vivid-proposed

« back to all changes in this revision

Viewing changes to utils/pmda/Install

  • Committer: Package Import Robot
  • Author(s): Mathieu Parent
  • Date: 2011-11-06 15:18:59 UTC
  • mto: (1.3.1)
  • mto: This revision was merged to the branch mainline in revision 22.
  • Revision ID: package-import@ubuntu.com-20111106151859-84nk51h3enndlo4q
Tags: upstream-1.11+git20111102
ImportĀ upstreamĀ versionĀ 1.11+git20111102

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#! /bin/sh
 
2
#
 
3
# Copyright (c) 1997 Silicon Graphics, Inc.  All Rights Reserved.
 
4
#
 
5
# This program is free software; you can redistribute it and/or modify it
 
6
# under the terms of the GNU General Public License as published by the
 
7
# Free Software Foundation; either version 2 of the License, or (at your
 
8
# option) any later version.
 
9
#
 
10
# This program is distributed in the hope that it will be useful, but
 
11
# WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
 
12
# or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
 
13
# for more details.
 
14
#
 
15
# You should have received a copy of the GNU General Public License along
 
16
# with this program; if not, write to the Free Software Foundation, Inc.,
 
17
# 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 
18
#
 
19
# Install the ctdb PMDA and/or PMNS
 
20
#
 
21
 
 
22
. $PCP_DIR/etc/pcp.env
 
23
. $PCP_SHARE_DIR/lib/pmdaproc.sh
 
24
 
 
25
iam=ctdb
 
26
pmda_interface=2
 
27
 
 
28
# runs as daemon and only supports pipe IPC
 
29
daemon_opt=true
 
30
dso_opt=false
 
31
pipe_opt=true
 
32
socket_opt=false
 
33
 
 
34
pmdaSetup
 
35
pmdaInstall
 
36
exit 0