From d57b2abb1f330d897ced53fa10850b6f2a6d67f5 Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Wed, 6 Jun 2012 09:07:37 +0200 Subject: [PATCH] =?UTF-8?q?suppression=20des=20templates=20pour=20les=20pa?= =?UTF-8?q?ram=C3=A8tres=20de=20wpkg?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ipasserelle-gp.spec | 4 +- .../shares/wpkg/files/settings/wpkg/wpkg.bat/10All | 52 ---------------------- .../files/settings/wpkg/wpkg.bat/template-begin | 0 3 files changed, 1 insertion(+), 55 deletions(-) delete mode 100644 root/etc/e-smith/templates/home/e-smith/files/shares/wpkg/files/settings/wpkg/wpkg.bat/10All delete mode 100644 root/etc/e-smith/templates/home/e-smith/files/shares/wpkg/files/settings/wpkg/wpkg.bat/template-begin 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