#!/bin/sh # # High-Availability Pre-Startup/Shutdown Script # # Description: Runs on Startup or shutdown of heartbeat (not resource based). # Also runs before start, after start or before stop, # and after stop. # # Author: Matthew Soffen # # Support: linux-ha-dev@lists.tummy.com # # License: GNU Lesser General Public License (LGPL) # # Copyright: (C) 2002 Matthew Soffen # # unset LC_ALL; export LC_ALL unset LANGUAGE; export LANGUAGE prefix=/usr exec_prefix=/usr . /etc/ha.d/shellfuncs case "$1" in 'start') ;; 'pre-start') ;; 'post-start') ;; 'stop') ;; 'pre-stop') ;; 'post-stop') ;; *) echo "Usage: $0 { start | pre-start | post-start | stop | pre-stop | post-stop }" ;; esac exit 0