On Monday 10 May 2010 09:40:34 jajcus wrote:
> Author: jajcus
> Date: Mon May 10 08:40:34 2010
> New Revision: 11411
>
> Modified:
>    rc-scripts/branches/upstart_native/rc.d/init.d/functions
> Log:
> - use 'configtest' before restart/reload if available
[..]
>               reload)
> +                     if is_yes $has_configtest ; then
> +                             "$script" configtest || exit 1
> +                     fi

perhaps we standardize this, i.e if "configtest" shell function is available, 
then use that shell function instead of invoking script again.

as invoking itself again, is slow, /bin/sh and huge init.d/functions slow 
things down.

-- 
glen
_______________________________________________
pld-devel-en mailing list
pld-devel-en@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-devel-en

Reply via email to