Am Donnerstag 11 Februar 2010 18:00:09 schrieb Neil Bothwick:
> On Thu, 11 Feb 2010 13:15:04 +0100, Damian wrote:
> > > I found this by looking in the cups init script.  It should help.
> > > 
> > > depend() {
> > >    use net
> > >    need avahi-daemon dbus
> > >    before nfs
> > >    after logger
> > > }
> > 
> > I've tried putting "after mpdscribble"  without success. Also the
> > problem with this approach is that if I update mpd, I will have to
> > modify the init script again.
> 
> That only means that is mdscribble is in the runlevel, start mpd after
> it. Try "need mpdscribble". The handbook and one of the man pages explain
> these options.
> 
> You can add /etc/init.d to CONFIG_PROTECT and remove it from
> CONFIG_PROTECT_MASK in make.conf.
> 
> Or you could remove mpd from the default runlevel and call both the init
> scripts from /etc/conf.d/local.

Nope. Lookup /etc/rc.conf:

##############################################################################
# SERVICE CONFIGURATION VARIABLES
# These variables are documented here, but should be configured in
# /etc/conf.d/foo for service foo and NOT enabled here unless you
# really want them to work on a global basis.

# Some daemons are started and stopped via start-stop-daemon.
# We can set some things on a per service basis, like the nicelevel.
#export SSD_NICELEVEL="-19"

# Pass ulimit parameters 
#rc_ulimit="-u 30"

# It's possible to define extra dependencies for services like so
#rc_config="/etc/foo"
#rc_need="openvpn"
#rc_use="net.eth0"
#rc_after="clock"
#rc_before="local"
#rc_provide="!net"

# You can also enable the above commands here for each service. Below is an
# example for service foo.
#rc_foo_config="/etc/foo"
#rc_foo_need="openvpn"
#rc_foo_after="clock"

# You can also remove dependencies.
# This is mainly used for saying which servies do NOT provide net.
#rc_net_tap0_provide="!net"

HTH...

        Dirk

Reply via email to