50 lines
936 B
Bash
50 lines
936 B
Bash
#!/bin/sh
|
|
#============================================================================
|
|
# multinet-include.template
|
|
#
|
|
# Version = 1.0.0
|
|
# Date = 2007-12-31
|
|
#
|
|
# Description:
|
|
#
|
|
# Script description goes here.
|
|
#
|
|
#============================================================================
|
|
|
|
#### start/stop info ########################################
|
|
#
|
|
# default-run: post-start pre-stop
|
|
#
|
|
# pre-start-num:
|
|
# post-start-num: 10
|
|
# pre-stop-num: 10
|
|
# post-stop-num:
|
|
#
|
|
###############################################################
|
|
|
|
#### Read config files and set variables ##################################
|
|
|
|
#. /etc/sysconfig/xend
|
|
#. /etc/xen/scripts/multinet-common.sh
|
|
|
|
|
|
#### Script Functions #####################################################
|
|
|
|
|
|
|
|
#### Main Code Body #######################################################
|
|
|
|
case $1 in
|
|
pre-start)
|
|
|
|
;;
|
|
post-start)
|
|
|
|
;;
|
|
pre-stop)
|
|
|
|
;;
|
|
post-stop)
|
|
|
|
;;
|
|
esac |