mherger;465270 Wrote: 
> I still don't know how that file was created though. I didn't find any
> code in our package which would do this.
I think I do! :)

To me, it looks like the problem comes from the
squeezeboxserver.postinst file:
> # Automatically added by dh_installinit
> if [ -x "/etc/init.d/squeezeboxserver" ]; then  
> *update-rc.d squeezeboxserver defaults >/dev/null*
> if [ -x "`which invoke-rc.d 2>/dev/null`" ]; then
> invoke-rc.d squeezeboxserver start || exit $?
> else              
> /etc/init.d/squeezeboxserver start || exit $?
> fi
> fi                                        
> # End automatically added section

>From the update-rc.d man page:
> *If defaults is used then update-rc.d will make links to start the
> service in runlevels 2345 and to stop the service in runlevels 016*. If
> multiuser is used then update-rc.d will make links to start the service
> in runlevels 2345 and top stop the service in only runlevel 1. *By
> default all the links will have sequence number 20*, but this can be
> overridden by supplying one NN or two SS and KK arguments to either
> defaults or multiuser; a single argument overrides the sequence number
> for both start and stop links whereas a pair of arguments overrides the
> sequence numbers for start and stop links, respectively. 

Since ReadyNAS plugins don't start/stop the standard Debian way, I
guess the solution would be to remove the call to -dh_installinit- in
the -rules- file for the ReadyNAS' .deb build (the standard .deb build
should not remove this!).
I have not created Debian packages for ages, so it needs to be
verified, though.

Hope this'll help.

Sébastien


-- 
sebp

System : Mac Mini for ripping to FLAC (XLD) > Squeezebox Server 7.4
running on a ReadyNAS NV+
Living room : Transporter > NuForce IA-7 v2 > KEF iQ9
Bedroom : Squeezebox 3 > Beresford DAC > NAD C315BEE > KEF iQ3
Kitchen : SB Receiver > Trends Audio TA10.1 > Celestion F10
Bathroom : SB Boom
'Last.fm' (http://www.last.fm/user/sebp)
------------------------------------------------------------------------
sebp's Profile: http://forums.slimdevices.com/member.php?userid=11768
View this thread: http://forums.slimdevices.com/showthread.php?t=68323

_______________________________________________
beta mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/beta

Reply via email to