From: Heiko Z. <smi...@us...> - 2006-09-08 22:23:45
|
Update of /cvsroot/devil-linux/build/scripts In directory sc8-pr-cvs12.sourceforge.net:/tmp/cvs-serv8417/scripts Added Files: Tag: rel-1-2-patches bonnie++ Log Message: - added bonnie++ 1.03a --- NEW FILE: bonnie++ --- #!/bin/bash # $Source: /cvsroot/devil-linux/build/scripts/Attic/bonnie++,v $ # $Revision: 1.1.2.1 $ # $Date: 2006/09/08 22:23:38 $ # # http://www.devil-linux.org # you need the next line, otherwise script won't be executed !!! # DL-build-system v3 ### BEGIN INIT INFO # Provides: bonnie++ # Required-Start: $basebuildtools $libs # Required-Stop: # Default-Start: 1 2 # Default-Stop: # Description: bonnie++ harddisk benchmark ### END INIT INFO # get the directoryname of the script MYDIR=${0%/*} # source functions and config source $MYDIR/settings MYNAME=AIDE case $1 in build ) if [ "$CONFIG_BONNIEPP" = "y" ]; then ./configure --prefix=/usr || exit 1 make $PMAKE || exit 1 strip_debug fi ;; install ) if [ "$CONFIG_BONNIEPP" = "y" ]; then rm -rf $TMPDIR mkdir -p $TMPDIR/usr || exit 1 make install prefix=$TMPDIR/usr || exit 1 copy_docs $TMPDIR copy_files $TMPDIR/usr $CDDIR || exit 1 rm -rf $TMPDIR || exit 1 fi ;; * ) echo "ERROR ($0)" echo "please add parameter so I know what to do" exit 1 ;; esac |