[Eisfair] BFB (brute_force_blocking) 0.5.7 released
Holger Bruenjes
holgerbruenjes at gmx.net
Mi Jan 22 16:34:47 CET 2014
Hallo Oalf
Am 2014-01-22 09:46, schrieb Olaf Jaehrling:
> Das irgendwas in der /etc/init.d/r geändert worden sein muss. Keine
> Ahnung was wann geändert wurde, aber bisher (keine Ahnung seit wann
> nicht mehr) lief der Start von BFB beim Serverstart ohne Probleme.
> Nun kommt aber folgende Meldung.
Es gab keine Grundsaetzliche Aenderung in rc, es wurde etwas am
Format der Ausgabe angepasst, aber schon im update-2.0.4
<version>2.0.4</version>
<date>2013-03-23</date>
Holger
etc/init.d> svn diff -r 32488 rc
Index: rc
===================================================================
--- rc (revision 32488)
+++ rc (working copy)
@@ -2,24 +2,32 @@
#----------------------------------------------------------------------------
# /etc/rc - resource control script
#
-# Creation: 07.08.2001 fm
-# Last Update: 14.09.2003 fm
+# Creation : 2001-08-07 fm
+# Last Update: $Id$
#
-# Copyright (c) 2001-2003 Frank Meyer <frank at eisfair.org>
+# Copyright (c) 2001-2013 the eisfair team, team(at)eisfair(dot)org
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
#----------------------------------------------------------------------------
runlevel=$1
-trap "echo" 2 # catch interrupts
+trap "echo" 2 # catch interrupts
PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/local/bin; export PATH
-/usr/local/bin/colecho "Running $0" gn
+. /etc/init.d/functions
+echo
+boot_mesg " * Running $0 ..."
+
if [ "$PREVLEVEL" = "$RUNLEVEL" ]
then
exit 0
fi
-colecho "Switching from runlevel $PREVLEVEL to $RUNLEVEL" gn
+boot_mesg " * Switching from runlevel $PREVLEVEL to $RUNLEVEL ..."
curdir=/etc/rc$RUNLEVEL.d
prevdir=/etc/rc$PREVLEVEL.d
@@ -37,14 +45,14 @@
do
if [ -x "$i" ]
then
- # don't run the kill script, if the new runlevel has a start
script
- script=`echo $i | sed "s#$prevdir/K$rex##"`
- script=`eval echo "$curdir/S$rex$script"`
+ # don't run the kill script, if the new runlevel has a
start script
+ script=`echo $i | sed "s#$prevdir/K$rex##"`
+ script=`eval echo "$curdir/S$rex$script"`
- if [ ! -f "$script" ]
- then
- $i stop
- fi
+ if [ ! -f "$script" ]
+ then
+ $i stop
+ fi
fi
done
@@ -55,14 +63,14 @@
do
if [ -x "$i" ]
then
- # don't run start script, if previous runlevel had a kill script
- script=`echo $i | sed "s#$prevdir/S$rex##"`
- script=`eval echo "$curdir/S$rex$script"`
+ # don't run start script, if previous runlevel had a kill
script
+ script=`echo $i | sed "s#$prevdir/S$rex##"`
+ script=`eval echo "$curdir/S$rex$script"`
- if [ ! -f "$script" ]
- then
- $i start
- fi
+ if [ ! -f "$script" ]
+ then
+ $i start
+ fi
fi
done
Mehr Informationen über die Mailingliste Eisfair