From: Heiko Z. <smi...@us...> - 2006-03-06 04:20:04
|
Update of /cvsroot/devil-linux/build/scripts In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23647/scripts Added Files: ipvsadm Log Message: added ipvsadm --- NEW FILE: ipvsadm --- #!/bin/bash # $Source: /cvsroot/devil-linux/build/scripts/ipvsadm,v $ # $Revision: 1.2 $ # $Date: 2006/03/06 04:19:58 $ # # 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 |