/alcasar.sh |
---|
1228,7 → 1228,6 |
chmod 660 $DIR_DEST_ETC/alcasar-* |
# Configuration des fichier WEB d'interception (secret partagé avec coova-chilli) |
$SED "s?^\$uamsecret =.*?\$uamsecret = \"$secretuam\";?g" $DIR_WEB/intercept.php |
$SED "s?^\$userpassword=1.*?\$userpassword=1;?g" $DIR_WEB/intercept.php |
# user 'chilli' creation (in order to run conup/off and up/down scripts |
chilli_exist=`grep chilli /etc/passwd|wc -l` |
if [ "$chilli_exist" == "1" ] |