Skip to content

Commit

Permalink
Add call to post update script
Browse files Browse the repository at this point in the history
  • Loading branch information
m03 committed Jun 25, 2016
1 parent 456768a commit 309315a
Showing 1 changed file with 20 additions and 2 deletions.
22 changes: 20 additions & 2 deletions floppy/_post_update_install.bat
Original file line number Diff line number Diff line change
@@ -1,5 +1,23 @@
ECHO OFF
@setlocal EnableDelayedExpansion EnableExtensions
@for %%i in (%~dp0\_packer_config*.cmd) do @call "%%~i"
@if defined PACKER_DEBUG (@echo on) else (@echo off)

REM This script is not included on the floppy by default.
REM If you're using update.bat, include this file if you
REM want to run scripts following all updates/reboots.
a:\zz-start-sshd.cmd

title Running post update scripts. Please wait...

@for %%i in (%~dp0\zz*.cmd) do (
echo ==^> Running "%%~i"
@call "%%~i"
)

:exit0
ver>nul
goto :exit

:exit1
verify other 2>nul

:exit

0 comments on commit 309315a

Please sign in to comment.