[Initscripts-ng-commits] r368 - /trunk/src/insserv/debian/check-initd-order
pere at users.alioth.debian.org
pere at users.alioth.debian.org
Mon Dec 31 12:33:54 UTC 2007
Author: pere
Date: Mon Dec 31 12:33:54 2007
New Revision: 368
URL: http://svn.debian.org/wsvn/initscripts-ng/?sc=1&rev=368
Log:
Cleanup.
Modified:
trunk/src/insserv/debian/check-initd-order
Modified: trunk/src/insserv/debian/check-initd-order
URL: http://svn.debian.org/wsvn/initscripts-ng/trunk/src/insserv/debian/check-initd-order?rev=368&op=diff
==============================================================================
--- trunk/src/insserv/debian/check-initd-order (original)
+++ trunk/src/insserv/debian/check-initd-order Mon Dec 31 12:33:54 2007
@@ -102,6 +102,7 @@
}
my $key = $opts{'k'} ? 'stop' : 'start';
+ my $revkey = $opts{'k'} ? 'stop-after' : 'start-before';
my @provides = split(/\s+/, $lsbinfo{'provides'});
for my $name (@provides) {
if (exists $sysmap{$name}) {
@@ -112,13 +113,6 @@
if (1 < @provides) {
print STDERR "warning: Unable to properly handle multiple provides: @provides\n";
- }
-
- my $revkey;
- if ($opts{'k'}) {
- $revkey = 'stop-after';
- } else {
- $revkey = 'start-before';
}
my %deps =
More information about the Initscripts-ng-commits
mailing list