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; -} +} +