Skip to Content.
Sympa Menu

cat-users - [cat-users] Script problem on Linux.

cat-users AT lists.geant.org

Subject: The mailing list for users of the eduroam Configuration Assistant Tool (CAT)

List archive

[cat-users] Script problem on Linux.


Chronological Thread 
  • From: Vincent LOUPIEN <vincent.loupien AT upmf-grenoble.fr>
  • To: cat-users AT geant.net
  • Subject: [cat-users] Script problem on Linux.
  • Date: Tue, 11 Feb 2014 17:40:37 +0100 (CET)
  • List-archive: <http://mail.geant.net/pipermail/cat-users/>
  • List-id: "The mailing list for users of the eduroam Configuration Assistant Tool \(CAT\)" <cat-users.geant.net>

Hello CAT,

I have a problem running up to you on the configuration script generated by
CAT for Linux systems (and may be a solution).

When running with the equivalent to the root rights (sudo) or as root
(sudo-s) eduroam-linux-xxxx.sh script, the course runs in a loop on the
question "Yes / No" of belonging to the univercity xxxx. If I answer "No", we
go out of the execution of the script (which is normal). If I answer "Yes",
we always come back to the same question (which is problematic).

Taking a look at the code and reversing two lines, it seems to solve the
problem but it might not be the ideal modification :

line 72 in the function ask {
if [$ 3 == "0"]; Then
$ def = no
else
$ def = yes
fi

Are this the right solution?

Regards,

NB: tests realised on Ubuntu 12.04.4 LTS (up to date).

--

BEGIN:VCARD
VERSION:3.0
FN:Vincent LOUPIEN
N:LOUPIEN;Vincent;;;
ADR;TYPE=work,postal,parcel:;;Direction des Systemes d'Information,Universite Pierre Mendes-France,Batiment Langues\, Nouvelles Technologies - Bureau 23,Domaine Universitaire,1300\, rue des Résidences - BP 47  Cedex 9;Grenoble;;F-38040;
TEL;TYPE=work,fax:(+33).4.76.82.83.13
TEL;TYPE=work,voice:(+33).4.76.82.57.58
EMAIL;TYPE=internet:vincent.loupien AT upmf-grenoble.fr
URL;TYPE=work:http://webdsi.upmf-grenoble.fr/connecteur_php_5.1/BiperV4/infosplus_carte.php?personne=1218
REV:2013-03-22T14:01:40Z
UID:c675c308-6f59-46f5-9589-14e7e4524794:2249
END:VCARD



Archive powered by MHonArc 2.6.19.

Top of Page