|
From: Serge L. <sma...@us...> - 2009-05-27 20:44:51
|
Update of /cvsroot/devil-linux/build/scripts In directory fdv4jf1.ch3.sourceforge.com:/tmp/cvs-serv23074/scripts Added Files: ippool Log Message: - updated cyrus-sasl to 2.1.23 - updated freeradius-server to 2.1.6 - added ippool (L2TP VPN component) - updated ntp to 4.2.4p7 - updated quagga to 0.99.12 --- NEW FILE: ippool --- #!/bin/bash # # http://www.devil-linux.org # you need the next line, otherwise script won't be executed !!! # DL-build-system v3 ### BEGIN INIT INFO # Provides: ippool # Required-Start: $basebuildtools $libs ppp # Required-Stop: # Default-Start: 1 2 # Default-Stop: # Description: apart of openl2tp ### END INIT INFO # get the directoryname of the script MYDIR=${0%/*} # source functions and config source $MYDIR/settings case $1 in build ) if [ "$CONFIG_L2TPD" = "y" ]; then make || exit 1 strip_debug fi ;; install ) if [ "$CONFIG_L2TPD" = "y" ]; then rm -rf $TMPDIR || exit 1 mkdir -p $TMPDIR || exit 1 make install DESTDIR=$TMPDIR || exit 1 copy_docs $TMPDIR || exit 1 rm -rf $TMPDIR/usr/lib/*a || exit 1 copy_files $TMPDIR/* $CDDIR || exit 1 copy_files etc/sysconfig/* $ETCDIR/etc/sysconfig/ || exit 1 rm -rf $TMPDIR || exit 1 # Copy our own startup script into /etc/init.d cp $MYDIR/scripts/ippoold $ETCDIR/etc/init.d || exit 1 fi ;; * ) echo "ERROR ($0)" echo "please add parameter so I know what to do" exit 1 ;; esac |