|
From: Serge L. <sma...@us...> - 2007-11-04 20:02:20
|
Update of /cvsroot/devil-linux/build/scripts In directory sc8-pr-cvs12.sourceforge.net:/tmp/cvs-serv11042/scripts Added Files: radiusplugin Log Message: - added radius plugin for openvpn --- NEW FILE: radiusplugin --- #!/bin/bash # $Source: /cvsroot/devil-linux/build/scripts/radiusplugin,v $ # $Revision: 1.1 $ # $Date: 2007/11/04 20:01:58 $ # # http://www.devil-linux.org # # you need the next line, otherwise script won't be executed !!! # DL-build-system v3 ### BEGIN INIT INFO # Provides: radiusplugin # Required-Start: $basebuildtools $libs openvpn # Required-Stop: # Default-Start: 1 2 # Default-Stop: # Description: radiusplugin for openvpn ### END INIT INFO # get the directoryname of the script MYDIR=${0%/*} # source functions and config source $MYDIR/settings MYNAME=OPENVPN case $1 in build ) if [ "$CONFIG_OPENVPN" = "y" ]; then make $PMAKE || exit 1 strip_debug fi ;; install ) if [ "$CONFIG_OPENVPN" = "y" ]; then mkdir -p {$DOCDIR/openvpn/plugin/radius,$CDDIR/usr/lib/openvpn} || exit 1 cp {README,vsascript.pl} $DOCDIR/openvpn/plugin/radius || exit 1 cp -a radiusplugin.so $CDDIR/usr/lib/openvpn || exit 1 fi ;; * ) echo "ERROR ($0)" echo "please add parameter so I know what to do" exit 1 ;; esac |