On 2008-05-29 12:49 +0200, Petter Reinholdtsen wrote:
> Can you test this patch? It convert the start optimization to a stop
> optimization for runlevels 0 and 6.
>
> Index: debian/sysv-rc/etc/init.d/rc
> ===================================================================
> --- debian/sysv-rc/etc/init.d/rc (revision 1275)
> +++ debian/sysv-rc/etc/init.d/rc (working copy)
> @@ -350,7 +350,14 @@
> # and _no_ stop script in this level, we don't
> # have to re-start the service.
> #
> - [ -f $previous_start ] && [ ! -f $stop ] &&
> continue
> + if [ start = "$ACTION" ] ; then
> + [ -f $previous_start ] && [ ! -f $stop ]
> && continue
> + else
> + # Workaround for the special
> + # handling of runlevels 0 and 6.
> + [ -f $previous_stop ] && [ ! -f
> $previous_start ] && continue
> + fi
> +
> fi
> SCRIPTS="$SCRIPTS $i"
> done
Had to apply it manually, since your mailer seems to convert tabs to
spaces. But it looks good and solves at least the portmap problem, as I
have tested.
Cheers,
Sven
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]