From 0aaf5f1d13e4c4d98b31ed8dfad6ac9f1458cbe1 Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Mon, 25 Jun 2012 17:15:33 +0200 Subject: [PATCH] Correction des templates pour le netlogon.bat --- .../e-smith/files/samba/netlogon/netlogon.bat/75CallSessionsScripts | 2 +- .../home/e-smith/files/samba/netlogon/netlogon.bat/template-begin | 6 ++++++ .../home/e-smith/files/samba/netlogon/netlogon.bat/template-end | 0 3 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 root/etc/e-smith/templates/home/e-smith/files/samba/netlogon/netlogon.bat/template-begin create mode 100644 root/etc/e-smith/templates/home/e-smith/files/samba/netlogon/netlogon.bat/template-end diff --git a/root/etc/e-smith/templates/home/e-smith/files/samba/netlogon/netlogon.bat/75CallSessionsScripts b/root/etc/e-smith/templates/home/e-smith/files/samba/netlogon/netlogon.bat/75CallSessionsScripts index ed0f715..4d5061f 100644 --- a/root/etc/e-smith/templates/home/e-smith/files/samba/netlogon/netlogon.bat/75CallSessionsScripts +++ b/root/etc/e-smith/templates/home/e-smith/files/samba/netlogon/netlogon.bat/75CallSessionsScripts @@ -4,7 +4,7 @@ my $ip = $InternalInterface{'IPAddress'}; $OUT .=<<"EOF"; SET IPASSERELLE_IP=$ip 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 if exist \\\\%IPASSERELLE_IP%\\tools\\scripts\\users\\%USERNAME%.bat call \\\\%IPASSERELLE_IP%\\tools\\scripts\\users\\%USERNAME%.bat diff --git a/root/etc/e-smith/templates/home/e-smith/files/samba/netlogon/netlogon.bat/template-begin b/root/etc/e-smith/templates/home/e-smith/files/samba/netlogon/netlogon.bat/template-begin new file mode 100644 index 0000000..5caa580 --- /dev/null +++ b/root/etc/e-smith/templates/home/e-smith/files/samba/netlogon/netlogon.bat/template-begin @@ -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 #------------------------------------------------------------ diff --git a/root/etc/e-smith/templates/home/e-smith/files/samba/netlogon/netlogon.bat/template-end b/root/etc/e-smith/templates/home/e-smith/files/samba/netlogon/netlogon.bat/template-end new file mode 100644 index 0000000..e69de29