From ab999f08f1c6694eec9307e3f907554359144e26 Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Wed, 18 Apr 2012 16:25:47 +0200 Subject: [PATCH] Fix wpkg.bat templates --- .../files/shares/wpkg/files/settings/wpkg/wpkg.bat/10All | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/root/etc/e-smith/templates/home/e-smith/files/shares/wpkg/files/settings/wpkg/wpkg.bat/10All b/root/etc/e-smith/templates/home/e-smith/files/shares/wpkg/files/settings/wpkg/wpkg.bat/10All index 8069061..35469cb 100644 --- a/root/etc/e-smith/templates/home/e-smith/files/shares/wpkg/files/settings/wpkg/wpkg.bat/10All +++ b/root/etc/e-smith/templates/home/e-smith/files/shares/wpkg/files/settings/wpkg/wpkg.bat/10All @@ -1,26 +1,25 @@ { my $ip = $InternalInterface{'IPAddress'}; -my $nt = $smb{'Workgrpup'}; +my $nt = $smb{'Workgroup'}; my $pass = $wpkg{'UserPassword'}; my $out .=<<"EOF"; - -@echo off +\@echo off cls echo. echo. _________________________________________________________ -echo i\ _______________________________________________________\ +echo i\\ _______________________________________________________\\ echo. i i i echo i i Mises a jour en cours. N'eteignez pas l'ordinateur i echo. i i i echo i i Il s'eteindra lui-meme a la fin des operations i echo. i i i -echo \i________________________________________________________i +echo \\i________________________________________________________i echo. echo. net use \\\\$ip\\wpkg /user:$nt\\deploiement $pass >NUL -net use \\\\$ip\\wpkglogs /user:$nt\deploiement $pass >NUL +net use \\\\$ip\\wpkglogs /user:$nt\\deploiement $pass >NUL set SOFTWARE=\\\\$ip\\wpkg\\softwares set SETTINGS=\\\\$ip\\wpkg\\settings set WPKGLOGS=\\\\$ip\\wpkglogs @@ -31,4 +30,5 @@ EOF $out =~ s/\n/\r\n/g; $OUT = $out; -} +} +