#!/bin/ksh # IBM_PROLOG_BEGIN_TAG # This is an automatically generated prolog. # # bos72D src/bos/usr/lpp/nfs/stnfs/stnfs_lku.sh 1.2 # # Licensed Materials - Property of IBM # # COPYRIGHT International Business Machines Corp. 2016 # All Rights Reserved # # US Government Users Restricted Rights - Use, duplication or # disclosure restricted by GSA ADP Schedule Contract with IBM Corp. # # IBM_PROLOG_END_TAG if [[ "$1" == "orig" ]] then ### Original LPAR #### print "Checking for STNFS mounts" /usr/sbin/mount | /usr/bin/grep " stnfs" > dev/null; if [[ $? -eq 0 ]] then print "stnfs filesystems mounted"; exit 1; fi /sbin/helpers/oncUnloadKE stnfs if [[ $? -ne 0 ]] then exit 1; else exit 0; fi fi