|
From: <smi...@us...> - 2004-01-10 16:00:31
|
Update of /cvsroot/devil-linux/build/scripts In directory sc8-pr-cvs1:/tmp/cvs-serv9523 Added Files: mtr Log Message: oops, forgott to check in the mtr scripts --- NEW FILE: mtr --- #!/bin/bash # $Source: /cvsroot/devil-linux/build/scripts/mtr,v $ # $Revision: 1.1 $ # $Date: 2004/01/10 16:00:28 $ # # http://www.devil-linux.org # you need the next line, otherwise script won't be executed !!! # DL-build-system v3 ### BEGIN INIT INFO # Provides: mtr # 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 source $MYDIR/functions MYNAME=MTR case $1 in build ) if [ "$CONFIG_MTR" = "y" ]; then ./configure --prefix=/usr --without-gtk || exit 1 make $PMAKE || exit 1 strip_debug fi ;; install ) if [ "$CONFIG_MTR" = "y" ]; then cp -p mtr $CDDIR/usr/sbin || exit 1 chmod u+s $CDDIR/usr/sbin/mtr || exit 1 copy_man fi ;; * ) echo "ERROR ($0)" echo "please add parameter so I know what to do" exit 1 ;; esac |