net use the hidden wpkg share

so it can be installed by a local admin account
master
Daniel Berteaud 9 years ago
parent e79c8a0efc
commit 44b88033de
  1. 1
      root/etc/e-smith/templates/home/e-smith/files/shares/tools/files/scripts/fwsupdates/install.bat/20script

@ -1,3 +1,4 @@
net use \\%IPASSERELLE_IP%\wpkg
if not exist "%SYSTEMROOT%\system32\GroupPolicy\Machine\Scripts\Shutdown" mkdir "%SYSTEMROOT%\system32\GroupPolicy\Machine\Scripts\Shutdown"
copy /Y "\\%IPASSERELLE_IP%\wpkg\softwares\fwsupdates\fwsupdates.vbs" "%SYSTEMROOT%\system32\GroupPolicy\Machine\Scripts\Shutdown\"
del /q "%SYSTEMROOT%\system32\GroupPolicy\Machine\Scripts\Shutdown\wpkg.bat"

Loading…
Cancel
Save