|
From: Serge L. <sma...@us...> - 2008-01-30 11:49:09
|
Update of /cvsroot/devil-linux/build/scripts In directory sc8-pr-cvs12.sourceforge.net:/tmp/cvs-serv17530/scripts Added Files: Tag: rel-1-2-patches arping Log Message: - added arping tool --- NEW FILE: arping --- #!/bin/bash # $Source: /cvsroot/devil-linux/build/scripts/arping,v $ # $Revision: 1.1.2.1 $ # $Date: 2008/01/30 11:48:55 $ # http://www.devil-linux.org # you need the next line, otherwise script won't be executed !!! # DL-build-system v3 ### BEGIN INIT INFO # Provides: arping # 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 MYNAME=ARPING case $1 in build ) if [ "$CONFIG_ARPING" = "y" ]; then make $PMAKE || exit 1 strip_debug fi ;; install ) if [ "$CONFIG_ARPING" = "y" ]; then cp -a arping $ISODIR/cdtree/usr/bin/ || exit 1 cp -a arping.8 $ISODIR/cdtree/usr/share/man/man8/ || exit 1 fi ;; * ) echo "ERROR ($0)" echo "please add parameter so I know what to do" exit 1 ;; esac |