Browse Source

add debug info

Vadim Surkov 6 năm trước cách đây
mục cha
commit
84988f5ca7
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  1. 2 0
      entrypoint.ps1

+ 2 - 0
entrypoint.ps1

@@ -16,6 +16,8 @@ if (!$env:filespath) {
 if ( (test-path("C:\ProgramData\Docker\secrets\shares.username")) -And (test-path("C:\ProgramData\Docker\secrets\shares.passwd")) ){
     $sh_username=Get-Content -path "C:\ProgramData\Docker\secrets\shares.username"
     $sh_passwd=Get-Content -path "C:\ProgramData\Docker\secrets\shares.passwd"
+echo    New-SmbMapping -RemotePath $env:logshare -UserName $sh_username -Password $sh_passwd
+echo    New-SmbMapping -RemotePath $env:filesshare -UserName $sh_username -Password $sh_passwd
     New-SmbMapping -RemotePath $env:logshare -UserName $sh_username -Password $sh_passwd
     New-SmbMapping -RemotePath $env:filesshare -UserName $sh_username -Password $sh_passwd
 }