Update of /cvsroot/devil-linux/build/scripts
In directory sc8-pr-cvs1:/tmp/cvs-serv4185/build/scripts
Added Files:
Tag: rel-1-0-patches
ipcalc
Log Message:
fixed setup to configure NIC's with correct BROADCAST address
--- NEW FILE: ipcalc ---
#!/bin/bash
# $Source: /cvsroot/devil-linux/build/scripts/ipcalc,v $
# $Revision: 1.1.2.1 $
# $Date: 2003/10/31 15:38:28 $
#
# http://www.devil-linux.org
# get the directoryname of the script
MYDIR=${0%/*}
# source functions and config
source $MYDIR/settings
source $MYDIR/functions
case $1 in
build )
make || exit 1
strip_debug
;;
install )
mkdir -p $CDDIR/usr/bin
mkdir -p $CDDIR/usr/share/man/man1
cp -dp ipcalc $CDDIR/usr/bin/ || exit 1
cp -dp ipcalc.1 $CDDIR/usr/share/man/man1/ || exit 1
;;
* )
echo "ERROR ($0)"
echo "please add parameter so I know what to do"
exit 1
;;
esac
|