Initial add of defaria.com
[clearscm.git] / defaria.com / Computers / code / adm / bin / install_pwplus
1 #!/bin/bash
2 ################################################################################
3 #
4 # File:         install_pwplus
5 # Description:  This script will install pwplus
6 # Author:       Andrew DeFaria (defaria@cup.hp.com)
7 # Language:     Korn Shell
8 # Modified:
9 #
10 # (c) Copyright 2001, Andrew@DeFaria.com, all rights reserved
11 #
12 ################################################################################
13 # First source /app/appserver
14 if [ -x /app/appserver ]; then
15   . /app/appserver
16 fi
17
18 if [ $(id -u) -ne 0 ]; then
19   print -u2 "Error: You must be root to execute this command!"
20   exit 1
21 fi
22
23 if [ "$OS" = "09" ]; then
24   print -u2 "Error: $(basename $0) does not run on 9.x!"
25   exit 1
26 fi
27
28 /usr/sbin/swinstall -s medusa.corp:/var/depot/security PWplus