#!/bin/ksh # IBM_PROLOG_BEGIN_TAG # This is an automatically generated prolog. # # # # Licensed Materials - Property of IBM # # (C) COPYRIGHT International Business Machines Corp. 2006 # 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 # # # gpfs - This script starts and stops the GPFS daemon. # # /etc/rc.d/init.d/gpfs # # ===== RedHat/Turbo chkconfig ===== # chkconfig: 345 58 22 # description: General Parallel File System # # ===== SuSE insserv ===== ### BEGIN INIT INFO # Provides: gpfs # Default-Start: 3 4 5 # Default-Stop: 0 1 2 6 # Required-Start: $local_fs $network # Required-Stop: $local_fs $network # X-UnitedLinux-Should-Start: sshd # X-UnitedLinux-Should-Stop: sshd # Description: starts/stops the GPFS (General Parallel File System) daemon ### END INIT INFO case "$1" in start) /usr/lpp/mmfs/bin/mmautoload >/dev/console 2>&1 ;; stop) /usr/lpp/mmfs/bin/tsstatus -1 >/dev/null 2>&1 && /usr/lpp/mmfs/bin/mmshutdown >/dev/console 2>&1 ;; restart) ;; condrestart) ;; status) ;; *) echo "Usage: $0 {start|stop|restart|status|condrestart}" exit 1 esac exit 0