Hi grubi,

grubi wrote:
> Would it be possible to add support for expanding environment variables
> for the "rebootCmd" parameter in config.xml?
> It seems that this is already done for other config parameters, however
> for the rebootCmd the call to ExpandEnvironemtStrings seems to be missing.

This is a very good idea. I've implemented it quickly (along with some other
expansions). You might find 1.1.2-RC15 here for testing:

<http://wpkg.svn.sourceforge.net/viewvc/wpkg/wpkg/stable/1.1/wpkg.js?view=log>

Changes:

NEW: Added expansion of environment variables in rebootCmd setting.
     Thanks to grubi for request.
     On this occasion I've updated some code to correctly expand
     settings_file_name too (in case no settings_file_path is defined).
     Environment expansion of logfilePattern setting has been added too.

Not very well tested yet, but at least it did not seem to break my local
environment ;-).

br,
Rainer
-------------------------------------------------------------------------
wpkg-users mailing list archives >> http://lists.wpkg.org/pipermail/wpkg-users/
_______________________________________________
wpkg-users mailing list
[email protected]
http://lists.wpkg.org/mailman/listinfo/wpkg-users

Reply via email to