| Line 1... |
Line 1... |
| 1 |
#!/bin/bash
|
1 |
#!/bin/bash
|
| 2 |
# $Id: alcasar.sh 1101 2013-05-21 18:48:24Z franck $
|
2 |
# $Id: alcasar.sh 1103 2013-05-21 21:38:28Z richard $
|
| 3 |
|
3 |
|
| 4 |
# alcasar.sh
|
4 |
# alcasar.sh
|
| 5 |
|
5 |
|
| 6 |
# ALCASAR - Portail captif d'accès à l'Internet - Copyright (C) [2005] [ALcasar team - Rexy - 3abtux - ...]
|
6 |
# ALCASAR - Portail captif d'accès à l'Internet - Copyright (C) [2005] [ALcasar team - Rexy - 3abtux - ...]
|
| 7 |
# Ce programme est un logiciel libre ; vous pouvez le redistribuer et/ou le modifier au titre des clauses de la Licence Publique Générale GNU,
|
7 |
# Ce programme est un logiciel libre ; vous pouvez le redistribuer et/ou le modifier au titre des clauses de la Licence Publique Générale GNU,
|
| Line 1821... |
Line 1821... |
| 1821 |
then echo -n "Voulez-vous créer le fichier de configuration de la version actuelle (0/n)? ";
|
1821 |
then echo -n "Voulez-vous créer le fichier de configuration de la version actuelle (0/n)? ";
|
| 1822 |
else echo -n "Do you want to create the running version configuration file (Y/n)? ";
|
1822 |
else echo -n "Do you want to create the running version configuration file (Y/n)? ";
|
| 1823 |
fi
|
1823 |
fi
|
| 1824 |
read response
|
1824 |
read response
|
| 1825 |
done
|
1825 |
done
|
| 1826 |
if [ "$reponse" = "o" ] || [ "$reponse" = "O" ] || [ "$response" = "Y" ] || [ "$response" = "y" ]
|
1826 |
if [ "$response" = "o" ] || [ "$response" = "O" ] || [ "$response" = "Y" ] || [ "$response" = "y" ]
|
| 1827 |
then
|
1827 |
then
|
| 1828 |
$DIR_SCRIPT/alcasar-conf.sh --create
|
1828 |
$DIR_SCRIPTS/alcasar-conf.sh --create
|
| 1829 |
else
|
1829 |
else
|
| 1830 |
rm -f /tmp/alcasar-conf*
|
1830 |
rm -f /tmp/alcasar-conf*
|
| 1831 |
fi
|
1831 |
fi
|
| 1832 |
# Uninstall the running version
|
1832 |
# Uninstall the running version
|
| 1833 |
$DIR_SCRIPTS/sbin/alcasar-uninstall.sh
|
1833 |
$DIR_SCRIPTS/sbin/alcasar-uninstall.sh
|