From d6f9f6562344783eead84c3077a15a9c0f078f52 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?H=C3=A9ctor=20Molinero=20Fern=C3=A1ndez?= Date: Tue, 2 Nov 2021 22:07:24 +0100 Subject: [PATCH] Move first run commands to a separate batch file --- .gitattributes | 1 + data/iso/reactos/unattend.bat | 3 +++ data/iso/reactos/unattend.inf | 2 +- 3 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 data/iso/reactos/unattend.bat diff --git a/.gitattributes b/.gitattributes index 74afd25..68755a6 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1 +1,2 @@ +*.bat eol=crlf *.inf eol=crlf diff --git a/data/iso/reactos/unattend.bat b/data/iso/reactos/unattend.bat new file mode 100644 index 0000000..dd8a93d --- /dev/null +++ b/data/iso/reactos/unattend.bat @@ -0,0 +1,3 @@ +@echo off + +%SystemRoot%\system32\shutdown.exe /s /t 5 diff --git a/data/iso/reactos/unattend.inf b/data/iso/reactos/unattend.inf index cf6ef5d..3544d0f 100644 --- a/data/iso/reactos/unattend.inf +++ b/data/iso/reactos/unattend.inf @@ -37,7 +37,7 @@ ProductOption = 0 DisableGeckoInst = no [GuiRunOnce] -%SystemRoot%\system32\shutdown.exe /s /t 5 +D:\reactos\unattend.bat [Display] BitsPerPel = 32