Michael Biebl <[EMAIL PROTECTED]> writes: > Marc 'HE' Brockschmidt wrote: >> Petter Reinholdtsen <[EMAIL PROTECTED]> writes: >>> [Marc Brockschmidt] >>>> I don't see how this is relevant to detect in which runlevels avahi >>>> should be started. My basic idea: >>> I agree. I believe this approach should work just fine for any >>> sysv-based boot system, independend of the use of insserv. >> >> I haven't seen any movement wrt this problem. Is there something >> planned, or do I need to NMU? > Maybe I just missed it, but was there actually a consensus what exactly > should be done within the avahi package? > > If so, could you please restate your requested changes in detail.
<[EMAIL PROTECTED]> and
<[EMAIL PROTECTED]> were both CCed to
you. Summary:
| What about a simple solution: Ask dpkg if sysvrc is installed. If not:
| Do the update-rc.d remove/start dance as currently implemented. If it
| used, check the current state of /etc/rc?.d/ and insert the new links
| accordingly to that. Would you be willing to implement this? It wouldn't
| worsen the situation, would improve it for a large majority of users and
| doesn't require APIs that are not available (yet).
...
| My basic idea:
| name="avahi";
| start="";
| stop="";
| for i in `seq 0 9` "S"; do
| if [ -e /etc/rc${i}.d/S??${name} ]; then
| start="$start $i";
| elif [ -e /etc/rc${i}.d/K??${name} ]; then
| stop="$stop $i";
| fi;
| done;
| echo "Start: $start";
| echo "Stop: $stop"
Marc
--
BOFH #413:
Cow-tippers tipped a cow onto the server.
pgpCfDme3R3hD.pgp
Description: PGP signature

