[wpkg-users] Psshutdown / Hardcoded Link
Tomasz Chmielewski
mangoo at wpkg.org
Tue Mar 21 21:53:47 CET 2006
Falko Trojahn wrote:
>
>> I think, these things should be introduced a bit more customizable, e.g.
>> as commandline switch:
>>
>> wpkg.js /shutdownmethod:"%0\..\wpkg\my-shutdown-command.whatever"
>>
>> If wpkg.js handles this itself it could be shortened to
>> wpkg.js /shutdownmethod:"wpkg\my-shutdown-command.whatever"
>> but this is a bit less flexible.
>>
>> Without this switch the normal behaviour should be as in 0.9.5 of course.
>>
>> Other projects even do it this way:
>> ... -r"myscript -option1 -option2" -r"myotherscript -option" ...
>>
>> Just my 2¢. If I have time on monday I'll send a patch.
>>
>>
> I had no time, but here is the patch:
time is a precious commodity these days...
> - without option /rebootcmd -> normal behaviour
>
> - with option /rebootcmd:special
> -> looks if it can find wpkg\psshutdown.exe and uses the loop from Frank
>
> - with option /rebootcmd:wpkg\myshutdown.bat _or_
> option /rebootcmd:\\server\share\myshutdown.bat
> it uses this for reboot
looks great, thanks.
> Someone confused? Drop me a mail ...
anyone tried this already?
--
Tomasz Chmielewski
http://wpkg.org
wpkg-users mailing list
wpkg-users at lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users
More information about the wpkg-users
mailing list