Package: mediatomb
Followup-For: Bug #534504


to solve the problem described by other persons, I've created two small
scripts that start and stop mediatomb when the interfaces are being
brought up and down. There is also a diff file for
/etc/default/mediatomb that adds a variable DELAYED (yes/no) to
disable/enable those small scripts.

Few remarks:

1. the current default is DELAYED=yes, which enables the script. It
doesn't really hurt as mediatomb is restarted, and should work in all
situations (with and withou NetworkManager).

2. I'm not sure I correctly understood the meaning of the "INTERFACE"
variable (mine is empty), so my check might be incorrect as I only restart/stop
if the interface given by INTERFACE is being stopped/started
($IFACE = $INTERFACE). Someone with more knowledge of mediatomb's internas
might want to check if this is the right decision.

3. if INTERFACE=lo, then the scripts do something if and only if the 'lo'
interface is brought up or down, again, it might not be the right logic.

4. the attached tar file contains the files and diff with correct
relative position (don't unpack in root direcotry unless it's what you want
to do!).

Hope this helps,

-- System Information:
Debian Release: 5.0.3
  APT prefers stable
  APT policy: (990, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.30-bpo.1-686 (SMP w/2 CPU cores)
Locale: LANG=en_IE.UTF-8, LC_CTYPE=en_IE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages mediatomb depends on:
ii  iceweasel [www-browser] 3.0.6-3          lightweight web browser based on M
ii  konqueror [www-browser] 4:3.5.9.dfsg.1-6 KDE's advanced file manager, web b
ii  mediatomb-daemon        0.11.0-3         UPnP MediaServer (daemon package)

mediatomb recommends no packages.

mediatomb suggests no packages.

-- no debconf information

Attachment: mediatomb_ifnm.tgz
Description: GNU Zip compressed data

pkg-multimedia-maintainers mailing list

Reply via email to