Update of /cvsroot/devil-linux/build/scripts
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15711
Added Files:
Tag: rel-1-2-patches
ifenslave
Log Message:
- added ifenslave v1.1.0
--- NEW FILE: ifenslave ---
#!/bin/bash
# $Source: /cvsroot/devil-linux/build/scripts/Attic/ifenslave,v $
# $Revision: 1.1.2.1 $
# $Date: 2004/12/31 02:42:30 $
#
# http://www.devil-linux.org
# you need the next line, otherwise script won't be executed !!!
# DL-build-system v3
### BEGIN INIT INFO
# Provides: ifenslave
# 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 )
gcc ifenslave.c -o ifenslave || exit 1
strip_debug
;;
install )
cp ifenslave $CDDIR/sbin || exit 1
;;
* )
echo "ERROR ($0)"
echo "please add parameter so I know what to do"
exit 1
;;
esac
|