"Fossies" - the Fresh Open Source Software Archive

Member "freeha-1.0/service_scripts/metaset.monitor" (23 Nov 2006, 612 Bytes) of package /linux/privat/old/freeha-1.0.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Bash source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file.

    1 #!/bin/sh
    2 
    3 
    4 #-------------------------------------------------------------------------#
    5 #  This file verifies that we retain posession of the DiskSuite "metaset" #
    6 #  If we loose ownership of the shared disk set, that would be Very Bad.  #
    7 #                                                                         #
    8 #  Standard UNIX status: returns 0 on good, non-0 on bad.                 #
    9 #  Provided as a tool to be called from 'monitorhasrv'                    #
   10 #-------------------------------------------------------------------------#
   11 
   12 
   13 
   14 #paranoia is good
   15 PATH=$PATH:/usr/sbin:/sbin
   16 
   17 
   18 metaset -s $1 -o
   19