From: <smi...@us...> - 2003-12-17 23:34:08
|
Update of /cvsroot/devil-linux/build/scripts In directory sc8-pr-cvs1:/tmp/cvs-serv12156/scripts Added Files: poptop Removed Files: pptpd Log Message: updated poptop --- NEW FILE: poptop --- #!/bin/bash # $Source: /cvsroot/devil-linux/build/scripts/poptop,v $ # $Revision: 1.1 $ # $Date: 2003/12/17 23:34:05 $ # # http://www.devil-linux.org # you need the next line, otherwise script won't be executed !!! # DL-build-system v3 ### BEGIN INIT INFO # Provides: pptpd # Required-Start: $basebuildtools $libs ppp # 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=POPTOP case $1 in build ) if [ "$CONFIG_PPP" = "y" ] && [ "$CONFIG_POPTOP" = "y" ]; then ./configure --prefix=/usr || exit 1 make $PMAKE all || exit 1 strip_debug fi ;; install ) if [ "$CONFIG_PPP" = "y" ] && [ "$CONFIG_POPTOP" = "y" ]; then rm -rf $WORKDIR/tmp || exit 1 mkdir -p $WORKDIR/tmp || exit 1 make install DESTDIR=$WORKDIR/tmp || exit 1 copy_docs $WORKDIR/tmp mkdir -p $DOCDIR/pptpd || exit 1 cp -dp ./html/* $DOCDIR/pptpd copy_files $WORKDIR/tmp/usr $CDDIR || exit 1 cp -p ./samples/pptpd.conf $ETCDIR/etc || exit 1 cp -p ./samples/options $ETCDIR/etc/ppp/options.pptp || exit 1 cp $MYDIR/scripts/pptpd $ETCDIR/etc/init.d/ rm -rf $WORKDIR/tmp || exit 1 echo "# Start $MYNAME?" >> $CONFIGFILE echo "START_PPTPD=no" >> $CONFIGFILE echo >> $CONFIGFILE echo "HELP_PPTPD=\"PPTPD is a Point to Point Tunneling Server (MS VPN)\"" >> $SOFTWAREHELP fi ;; * ) echo "ERROR ($0)" echo "please add parameter so I know what to do" exit 1 ;; esac --- pptpd DELETED --- |