Update of /cvsroot/devil-linux/build/scripts
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23176/scripts
Added Files:
Tag: rel-1-2-patches
ipvsadm
Log Message:
increased version number
added ipvsadm
--- NEW FILE: ipvsadm ---
#!/bin/bash
# $Source: /cvsroot/devil-linux/build/scripts/Attic/ipvsadm,v $
# $Revision: 1.1.2.1 $
# $Date: 2006/03/06 04:19:06 $
#
# http://www.devil-linux.org
# you need the next line, otherwise script won't be executed !!!
# DL-build-system v3
### BEGIN INIT INFO
# Provides: ipvsadm
# Required-Start: $basebuildtools $libs
# Required-Stop:
# Default-Start: 1 2
# Default-Stop:
# Description: description
### END INIT INFO
# get the directoryname of the script
MYDIR=${0%/*}
# source functions and config
source $MYDIR/settings
case $1 in
build )
make all || exit 1
strip_debug
;;
install )
rm -rf $TMPDIR
mkdir -p $TMPDIR || exit 1
make install BUILD_ROOT=$TMPDIR
copy_docs $TMPDIR
cp -dpR $TMPDIR/* $CDDIR || exit 1
rm -rf $TMPDIR || exit 1
;;
* )
echo "ERROR ($0)"
echo "please add parameter so I know what to do"
exit 1
;;
esac
|