From: Heiko Z. <smi...@us...> - 2010-11-04 19:13:10
|
Update of /cvsroot/devil-linux/build/scripts/scripts In directory sfp-cvsdas-3.v30.ch3.sourceforge.com:/tmp/cvs-serv18064/scripts/scripts Added Files: freeradius Log Message: - closed bug #91 - Freeradius links to startup script --- NEW FILE: freeradius --- #!/bin/bash # # $Source: /cvsroot/devil-linux/build/scripts/scripts/freeradius,v $ # $Revision: 1.1 $ # $Date: 2010/11/04 19:13:02 $ # # http://www.devil-linux.org # ### BEGIN INIT INFO # Provides: freeradius # Required-Start: $network $syslog $named # Required-Stop: $network $syslog $named # Default-Start: 2 3 5 # Default-Stop: 6 0 # Description: starts freeradius ### END INIT INFO # settings source /etc/sysconfig/config # parameters CONFIGNAME=FREERADIUS PARAMETER= # source function library source /etc/init.d/functions eval START=\$START_$CONFIGNAME # Determine the base and follow a runlevel link name. base=${0##*/} link=${base#*[SK][0-9][0-9]} # Force execution if not called by a runlevel directory. test $link = $base && START=yes test "$START" = "yes" || exit 0 |