home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World Komputer 1999 March B
/
SCO_CASTOR4RRT.iso
/
nsfast
/
install
/
postremove
< prev
next >
Wrap
Text File
|
1998-08-19
|
1KB
|
46 lines
#!/bin/sh
#
# @(#) postremove.shinc 12.3 97/11/17
#
# Copyright (c) 1997 The Santa Cruz Operation, Inc.. All Rights Reserved.
# THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF THE SANTA CRUZ OPERATION INC.
# The copyright notice above does not evidence any actual or intended
# publication of such source code.
#
ME="`basename $0`"
ISL_FILE="/etc/inst/scripts/postreboot.sh"
SUCCESS=0; FAIL=1; INTR=3
trap "exit $INTR" 2 3 15
# location of the packaging information files during this phase of installation
INSTALL_DIR="/var/sadm/pkg/$PKGINST/install/$PKGINST"
#############################################################################
#
# restart_admin
#
# restart any admin server with the new server to administer
#
#############################################################################
restart_admin()
{
# if a server looks like it's running, restart it
if [ -x /usr/sbin/nsadmin ]; then
/usr/sbin/nsadmin restart
fi
}
#############################################################################
#
# main
#
#############################################################################
# stop and restart any running admin server
restart_admin
# done
exit $SUCCESS