diff --git a/ipasserelle-gp.spec b/ipasserelle-gp.spec index c91a340..2d2a8f0 100644 --- a/ipasserelle-gp.spec +++ b/ipasserelle-gp.spec @@ -1,5 +1,5 @@ %define version 0.0.1 -%define release 1.beta25 +%define release 1.beta26 %define name ipasserelle-gp @@ -32,8 +32,6 @@ Basé sur WPKG et d'autres outils %build perl createlinks -%{__mkdir_p} root/home/e-smith/files/shares/wpkg/files/settings/{wpkg-gp,tightvnc,wpkg} -%{__mkdir_p} root/home/e-smith/files/shares/wpkg/files/{packages,softwares} %install /bin/rm -rf $RPM_BUILD_ROOT 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 deleted file mode 100644 index 06123a1..0000000 --- a/root/etc/e-smith/templates/home/e-smith/files/shares/wpkg/files/settings/wpkg/wpkg.bat/10All +++ /dev/null @@ -1,52 +0,0 @@ -{ - -my $ip = $InternalInterface{'IPAddress'}; -my $nt = $smb{'Workgroup'}; -my $pass = $wpkg{'UserPassword'}; - -my $out .=<<"EOF"; -\@echo off -cls -echo. -echo # ###### -echo. # # ## #### #### ###### ##### ###### # # ###### -echo # # # # # # # # # # # # # # -echo. # ###### # # #### #### ##### # # ##### # # ##### -echo # # ###### # # # ##### # # # # -echo. # # # # # # # # # # # # # # # -echo # # # # #### #### ###### # # ###### ###### ###### ###### -echo. -echo. -echo. -echo. -echo. -echo. _________________________________________________________ -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. -echo. - -ping -n 2 -w 2000 $ip > NUL -if errorlevel 1 ( - echo Reseau non connecte - exit /b %errorlevel% -) -net use \\\\$ip\\wpkg /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 -cscript //Nologo \\\\$ip\\wpkg\\wpkg.js /synchronize /nonotify /quiet - -EOF - -$out =~ s/\n/\r\n/g; -$OUT = $out; - -} - diff --git a/root/etc/e-smith/templates/home/e-smith/files/shares/wpkg/files/settings/wpkg/wpkg.bat/template-begin b/root/etc/e-smith/templates/home/e-smith/files/shares/wpkg/files/settings/wpkg/wpkg.bat/template-begin deleted file mode 100644 index e69de29..0000000