Yes, i think that's right. Theo do you aggree?

On (2011-07-18 09:39), David Coppa wrote:
> Hi all,
> 
> Found this yesterday, after installing mpd on my box:
> 
> 
> starting package daemons: aiccu dbus_daemon mpd.
> starting local daemons: apmd hotplugd cron aucat(failed).
> 
> 
> I think the startup order should be inverted...
> 
> cheers,
> david
> 
> Index: rc
> ===================================================================
> RCS file: /cvs/src/etc/rc,v
> retrieving revision 1.385
> diff -u -p -r1.385 rc
> --- rc        11 Jul 2011 17:20:09 -0000      1.385
> +++ rc        18 Jul 2011 07:29:40 -0000
> @@ -538,15 +538,6 @@ if [ -f /etc/rc.firsttime ]; then
>  fi
>  rm -f /etc/rc.firsttime.run
>  
> -# Run rc.d(8) scripts from packages
> -if [ -n "${pkg_scripts}" ]; then
> -     echo -n 'starting package daemons:'
> -     for _r in $pkg_scripts; do
> -             [ -x /etc/rc.d/${_r} ] && start_daemon ${_r}
> -     done
> -     echo '.'
> -fi
> -
>  [ -f /etc/rc.local ] && . /etc/rc.local
>  
>  ifconfig -g carp -carpdemote 128     # disable carp interlock
> @@ -555,6 +546,15 @@ mixerctl_conf
>  echo -n 'starting local daemons:'
>  start_daemon apmd sensorsd hotplugd watchdogd cron aucat wsmoused xdm
>  echo '.'
> +
> +# Run rc.d(8) scripts from packages
> +if [ -n "${pkg_scripts}" ]; then
> +     echo -n 'starting package daemons:'
> +     for _r in $pkg_scripts; do
> +             [ -x /etc/rc.d/${_r} ] && start_daemon ${_r}
> +     done
> +     echo '.'
> +fi
>  
>  date
>  exit 0

Reply via email to