Correction des templates pour le netlogon.bat

sessionscripts
Daniel Berteaud 13 years ago
parent ab462cc713
commit 0aaf5f1d13
  1. 2
      root/etc/e-smith/templates/home/e-smith/files/samba/netlogon/netlogon.bat/75CallSessionsScripts
  2. 6
      root/etc/e-smith/templates/home/e-smith/files/samba/netlogon/netlogon.bat/template-begin
  3. 0
      root/etc/e-smith/templates/home/e-smith/files/samba/netlogon/netlogon.bat/template-end

@ -4,7 +4,7 @@ my $ip = $InternalInterface{'IPAddress'};
$OUT .=<<"EOF"; $OUT .=<<"EOF";
SET IPASSERELLE_IP=$ip SET IPASSERELLE_IP=$ip
REM Scripts globaux REM Scripts globaux
for /F "tokens=*" %%f in ('dir /B /ON \\\\%IPASSERELLE_IP%\\tools\\scripts\\session\\*.bat') do call %%f for /F "tokens=*" %%f in ('dir /B /ON \\\\%IPASSERELLE_IP%\\tools\\scripts\\session\\*.bat') do call \\\\%IPASSERELLE_IP\\tools\\scripts\\session\\%%f
REM Script personnel REM Script personnel
if exist \\\\%IPASSERELLE_IP%\\tools\\scripts\\users\\%USERNAME%.bat call \\\\%IPASSERELLE_IP%\\tools\\scripts\\users\\%USERNAME%.bat if exist \\\\%IPASSERELLE_IP%\\tools\\scripts\\users\\%USERNAME%.bat call \\\\%IPASSERELLE_IP%\\tools\\scripts\\users\\%USERNAME%.bat

@ -0,0 +1,6 @@
@REM #------------------------------------------------------------
@REM # DO NOT MODIFY THIS FILE! It is updated automatically by the
@REM # SME server software. Instead, modify the source
@REM # template in the /etc/e-smith/templates-custom directory. For more
@REM # information, see http://wiki.contribs.org
@REM #------------------------------------------------------------
Loading…
Cancel
Save