|
From: Heiko Z. <smi...@us...> - 2005-09-08 19:53:42
|
Update of /cvsroot/devil-linux/build/scripts In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26036/scripts Added Files: ether-wake Log Message: - added ether-wake 1.07 --- NEW FILE: ether-wake --- #!/bin/bash # $Source: /cvsroot/devil-linux/build/scripts/ether-wake,v $ # $Revision: 1.2 $ # $Date: 2005/09/08 19:53:33 $ # # http://www.devil-linux.org # you need the next line, otherwise script won't be executed !!! # DL-build-system v3 ### BEGIN INIT INFO # Provides: ether-wake # 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 -O -Wall -o ether-wake ether-wake.c || exit 1 strip_debug ;; install ) cp ether-wake $CDDIR/sbin || exit 1 ;; * ) echo "ERROR ($0)" echo "please add parameter so I know what to do" exit 1 ;; esac |