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 _______________________________________________ pld-devel-en mailing list pld-devel-en@lists.pld-linux.org http://lists.pld-linux.org/mailman/listinfo/pld-devel-en