Simple naming bug, easy to fix!
In /etc/defaults/mediatomb all settings variables are prefixed by MT_, e.g. line 11: MT_OPTIONS=""
But in /etc/init.d/mediatomb only $OPTIONS is missing its MT_ prefix, so line 80 it says:
DAEMON_ARGS="-c /etc/mediatomb/config.xml -d -u $MT_USER -g $MT_GROUP -P $MT_PIDFILE -l $MT_LOGFILE $INTERFACE_ARG $OPTIONS"
Effectively, any MT_OPTIONS set in /etc/defaults/mediatomb are ignored by the init script.
This will fix it, almost as good as a patch:
sed 's,$OPTIONS,$MT_OPTIONS,g' -i /etc/init.d/mediatomb
Simple naming bug, easy to fix!
In /etc/defaults/ mediatomb all settings variables are prefixed by MT_, e.g. line 11:
MT_OPTIONS=""
But in /etc/init. d/mediatomb only $OPTIONS is missing its MT_ prefix, so line 80 it says:
DAEMON_ARGS="-c /etc/mediatomb/ config. xml -d -u $MT_USER -g $MT_GROUP -P $MT_PIDFILE -l $MT_LOGFILE $INTERFACE_ARG $OPTIONS"
Effectively, any MT_OPTIONS set in /etc/defaults/ mediatomb are ignored by the init script.
This will fix it, almost as good as a patch:
sed 's,$OPTIONS, $MT_OPTIONS, g' -i /etc/init. d/mediatomb