Add net help join text, from Steve Langasek.
[Samba/gbeck.git] / pcp / Install
blobc2087fc01e3955b169adff6bf524265e4ac3958e
1 #! /bin/sh
3 # Copyright (c) 2000 Silicon Graphics, Inc. All Rights Reserved.
5 # This program is free software; you can redistribute it and/or modify it
6 # under the terms of version 2 of the GNU General Public License as
7 # published by the Free Software Foundation.
9 # This program is distributed in the hope that it would be useful, but
10 # WITHOUT ANY WARRANTY; without even the implied warranty of
11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
13 # Further, this software is distributed without any warranty that it is
14 # free of the rightful claim of any third person regarding infringement
15 # or the like. Any license provided herein, whether implied or
16 # otherwise, applies only to this software file. Patent licenses, if
17 # any, provided herein do not apply to combinations of this program with
18 # other software, or any other product whatsoever.
20 # You should have received a copy of the GNU General Public License along
21 # with this program; if not, write the Free Software Foundation, Inc., 59
22 # Temple Place - Suite 330, Boston MA 02111-1307, USA.
24 # Contact information: Silicon Graphics, Inc., 1600 Amphitheatre Pkwy,
25 # Mountain View, CA 94043, or:
27 # http://www.sgi.com
29 # For further information regarding this notice, see:
31 # http://oss.sgi.com/projects/GenInfo/SGIGPLNoticeExplan/
33 # Install the samba PMDA and/or PMNS
36 # source the PCP configuration environment variables
37 . /etc/pcp.env
39 # Get the common procedures and variable assignments
41 . $PCP_SHARE_DIR/lib/pmdaproc.sh
43 # The name of the PMDA
45 iam=samba
47 # override interactive dialog from pmdaproc.sh
49 __choose_mode()
51 echo "Installing the \"$iam\" Performance Metrics Domain Agent (PMDA) ..."
52 echo
55 # Using libpcp_pmda.so.2 and PMDA_INTERFACE_2
57 pmda_interface=2
59 # Do it
61 pmdaSetup
62 pmdaInstall
64 exit 0