https://git.reactos.org/?p=reactos.git;a=commitdiff;h=7d7ee10f928e472dffb8004fa6207c82d62ed91e

commit 7d7ee10f928e472dffb8004fa6207c82d62ed91e
Author:     Eric Kohl <[email protected]>
AuthorDate: Sat Nov 2 00:29:53 2019 +0100
Commit:     Eric Kohl <[email protected]>
CommitDate: Sat Nov 2 00:29:53 2019 +0100

    [INF] Use the StartName entry for DHCP and DNS service install
---
 media/inf/nettcpip.inf | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/media/inf/nettcpip.inf b/media/inf/nettcpip.inf
index 00202f73d12..bbd08701583 100644
--- a/media/inf/nettcpip.inf
+++ b/media/inf/nettcpip.inf
@@ -270,10 +270,10 @@ StartType     = 2
 ErrorControl  = 1
 ServiceBinary = "%11%\svchost.exe -k netsvcs"
 LoadOrderGroup = TDI
+StartName     = "LocalSystem"
 AddReg=dhcp_AddReg
 
 [dhcp_AddReg]
-HKR,,"ObjectName",0x00000000,"LocalSystem"
 HKR,"Parameters","ServiceDll",0x00020000,"%SystemRoot%\system32\dhcpcsvc.dll"
 
 [dns_Service_Inst]
@@ -284,10 +284,10 @@ StartType     = 2
 ErrorControl  = 1
 ServiceBinary = "%11%\svchost.exe -k NetworkService"
 LoadOrderGroup = TDI
+StartName     = "NT AUTHORITY\NetworkService"
 AddReg=dns_AddReg
 
 [dns_AddReg]
-HKR,,"ObjectName",0x00000000,"NT AUTHORITY\NetworkService"
 HKR,"Parameters","ServiceDll",0x00020000,"%SystemRoot%\system32\dnsrslvr.dll"
 
 ;-------------------------------- STRINGS -------------------------------

Reply via email to