Last change
on this file since 250 was
16,
checked in by rock, 17 years ago
|
|
-
Property svn:executable set to
*
|
File size:
1.3 KB
|
Rev | Line | |
---|
[16] | 1 | #!/bin/ksh |
---|
| 2 | # IBM_PROLOG_BEGIN_TAG |
---|
| 3 | # This is an automatically generated prolog. |
---|
| 4 | # |
---|
| 5 | # |
---|
| 6 | # |
---|
| 7 | # Licensed Materials - Property of IBM |
---|
| 8 | # |
---|
| 9 | # (C) COPYRIGHT International Business Machines Corp. 2006 |
---|
| 10 | # All Rights Reserved |
---|
| 11 | # |
---|
| 12 | # US Government Users Restricted Rights - Use, duplication or |
---|
| 13 | # disclosure restricted by GSA ADP Schedule Contract with IBM Corp. |
---|
| 14 | # |
---|
| 15 | # IBM_PROLOG_END_TAG |
---|
| 16 | # |
---|
| 17 | # |
---|
| 18 | # gpfs - This script starts and stops the GPFS daemon. |
---|
| 19 | # |
---|
| 20 | # /etc/rc.d/init.d/gpfs |
---|
| 21 | # |
---|
| 22 | # ===== RedHat/Turbo chkconfig ===== |
---|
| 23 | # chkconfig: 345 58 22 |
---|
| 24 | # description: General Parallel File System |
---|
| 25 | # |
---|
| 26 | # ===== SuSE insserv ===== |
---|
| 27 | ### BEGIN INIT INFO |
---|
| 28 | # Provides: gpfs |
---|
| 29 | # Default-Start: 3 4 5 |
---|
| 30 | # Default-Stop: 0 1 2 6 |
---|
| 31 | # Required-Start: $local_fs $network |
---|
| 32 | # Required-Stop: $local_fs $network |
---|
| 33 | # X-UnitedLinux-Should-Start: sshd |
---|
| 34 | # X-UnitedLinux-Should-Stop: sshd |
---|
| 35 | # Description: starts/stops the GPFS (General Parallel File System) daemon |
---|
| 36 | ### END INIT INFO |
---|
| 37 | |
---|
| 38 | case "$1" in |
---|
| 39 | start) |
---|
| 40 | /usr/lpp/mmfs/bin/mmautoload >/dev/console 2>&1 |
---|
| 41 | ;; |
---|
| 42 | stop) |
---|
| 43 | /usr/lpp/mmfs/bin/tsstatus -1 >/dev/null 2>&1 && |
---|
| 44 | /usr/lpp/mmfs/bin/mmshutdown >/dev/console 2>&1 |
---|
| 45 | ;; |
---|
| 46 | restart) |
---|
| 47 | ;; |
---|
| 48 | condrestart) |
---|
| 49 | ;; |
---|
| 50 | status) |
---|
| 51 | ;; |
---|
| 52 | *) |
---|
| 53 | echo "Usage: $0 {start|stop|restart|status|condrestart}" |
---|
| 54 | exit 1 |
---|
| 55 | esac |
---|
| 56 | |
---|
| 57 | exit 0 |
---|
| 58 | |
---|
Note: See
TracBrowser
for help on using the repository browser.