#! /bin/sh # # $Id: nwwiz.sh,v 6.7.2.1 2007/03/01 21:04:37 huangj10 Exp $ # # Copyright (c) 2005-2006, EMC Corporation. # # All rights reserved. This is an UNPUBLISHED work, and # comprises proprietary and confidential information of EMC. # Unauthorized use, disclosure, and distribution are strictly # prohibited. Use, duplication, or disclosure of the software # and documentation by the U.S. Government is subject to # restrictions set forth in a license agreement between the # Government and EMC or other written agreement specifying # the Government's rights to use the software and any applicable # FAR provisions, such as FAR 52.227-19. # # # This script is called by NetWorker Management Console to invoke # the configuration Wizard on UNIX machines. It allows for the setting # of environment variables, before invoking the nwwize executable. # # Environment variable to control Wizard font #NSR_WIZARD_FONT=arial #export NSR_WIZARD_FONT # Environment variable to control the size of the Wizard font in the range [4..18] #NSR_WIZARD_FONT_SIZE=14 #export NSR_WIZARD_FONT_SIZE # Environment variable to add scrollbars to Wizard #NSR_WIZARD_USE_SCROLLBARS=No #export NSR_WIZARD_USE_SCROLLBARS LD_LIBRARY_PATH=/usr/lib/nsr/wizard:/usr/lib/nsr:/opt/networker/lib/wizard:/opt/networker/lib:/usr/lib export LD_LIBRARY_PATH # export HP-UX equivalent of LD_LIBRARY_PATH SHLIB_PATH=$LD_LIBRARY_PATH export SHLIB_PATH # export AIX equivalent of LD_LIBRARY_PATH LIBPATH=$LD_LIBRARY_PATH export LIBPATH PATH=/usr/bin/nsr:/usr/bin:/opt/networker/bin:$PATH export PATH if [ x"" = x""$1 ]; then echo "nwwiz -s server_name" exit 1 else if [ ! x"-s" = x$1 ]; then echo "nwwiz -s server_name" exit 1 fi if [ x"" = x""$2 ]; then echo "nwwiz -s server_name" else nwwize $1 $2 ret=$? exit $ret fi fi exit 0