Subversion Repositories ALCASAR

Rev

Rev 615 | Rev 628 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log

Rev 615 Rev 618
Line 1... Line 1...
1
#!/bin/sh
1
#!/bin/sh
2
#  $Id: alcasar.sh 615 2011-05-24 21:47:25Z richard $ 
2
#  $Id: alcasar.sh 618 2011-05-26 21:35:31Z richard $ 
3
 
3
 
4
# alcasar.sh
4
# alcasar.sh
5
# by Franck BOUIJOUX, Pascal LEVANT and Richard REY
5
# by Franck BOUIJOUX, Pascal LEVANT and Richard REY
6
# This script is distributed under the Gnu General Public License (GPL)
6
# This script is distributed under the Gnu General Public License (GPL)
7
 
7
 
Line 286... Line 286...
286
	response=0
286
	response=0
287
	PTN='^[oOyYnN]$'
287
	PTN='^[oOyYnN]$'
288
	until [[ $(expr $response : $PTN) -gt 0 ]]
288
	until [[ $(expr $response : $PTN) -gt 0 ]]
289
		do
289
		do
290
			if [ $Lang == "fr" ]
290
			if [ $Lang == "fr" ]
291
				then echo -n "Voulez-vous utiliser ce plan d'adressage (recommandé) (O/n)? : "
291
				then echo -n "Voulez-vous utiliser cette addresse et ce plan d'adressage (recommandé) (O/n)? : "
292
				else echo -n "Do you want to use it (recommanded) (Y/n)? : "
292
				else echo -n "Do you want to use this IP address and this IP addressing plan (recommanded) (Y/n)? : "
293
			fi
293
			fi
294
			read response
294
			read response
295
		done
295
		done
296
	if [ "$response" = "n" ] || [ "$response" = "N" ]
296
	if [ "$response" = "n" ] || [ "$response" = "N" ]
297
	then
297
	then