Micah Anderson - 2008-09-01

Logged In: YES
user_id=334129
Originator: YES

Looking at my backups, it looks like I had /etc/rc2.d/K00 scripts that sysv-rc-conf was basing things on, so that means that this block in the code will return a 100:

# Ok, try to match on any runlevel with either S or K
foreach (@cache) {
next unless /^[\dsS]\s+([SK])\s+(\d\d)\s+$sn$/;
verbose("Returning difference of 100 and $2: $_");
# Sequence numbers are usually defined as stop = 100 - start
# So that means that start = 100 - stop
# Above we would have returned if $sk eq $1 so we know that $1 is
# the opposite of $sk. So return 100 - $2.
return zero_pad(100 - $2);
}

Because 100 - 00 = 100. I'm not sure the right way to handle this, but maybe a check to find out if the result is 00, then it should add 1?