SVN: rc-scripts/branches/upstart_native/rc.d/init.d/functions
Jacek Konieczny
jajcus at jajcus.net
Mon May 10 18:12:04 CEST 2010
On Mon, May 10, 2010 at 06:41:47PM +0300, Elan Ruusamäe wrote:
> 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.
Yes. That is a good idea. I just prefer no to start from optimizing
things. Let's make it work first. :)
Greets,
Jacek
More information about the pld-devel-en
mailing list