Subversion Repositories ALCASAR

Compare Revisions

Regard whitespace Rev 2736 → Rev 2737

/alcasar.sh
489,8 → 489,6
INSTALL_DATE=$DATE
VERSION=$VERSION
ORGANISM=$ORGANISME
HOSTNAME=$HOSTNAME
DOMAIN=$DOMAIN
EOF
chmod o-rwx $CONF_FILE
} # End of init()
614,6 → 612,8
PUBLIC_PREFIX=`/bin/ipcalc -p $PUBLIC_IP $PUBLIC_NETMASK|cut -d"=" -f2`
PUBLIC_NETWORK=`/bin/ipcalc -n $PUBLIC_IP/$PUBLIC_PREFIX|cut -d"=" -f2`
# Write network parameters in the conf file
echo "HOSTNAME=$HOSTNAME" >> $CONF_FILE
echo "DOMAIN=$DOMAIN" >> $CONF_FILE
echo "EXTIF=$EXTIF" >> $CONF_FILE
echo "INTIF=$INTIF" >> $CONF_FILE
######## Récupération des interfaces du ou des réseaux de consultation supplémentaires #################
891,6 → 891,10
[ -d $DIR_DEST_ETC/digest ] && rm -rf $DIR_DEST_ETC/digest
mkdir -p $DIR_DEST_ETC/digest
chmod 755 $DIR_DEST_ETC/digest
if [ $Lang == "fr" ]
then echo -n "Création du premier compte administrateur : "
else echo -n "Creation of the first admin account : "
fi
until [ -s $DIR_DEST_ETC/digest/key_admin ]
do
$DIR_DEST_BIN/alcasar-profil.sh --add admin
897,7 → 901,7
done
fi
 
# Run after coova (in order to wait tun0 to be up)
# Run lighttpd after coova (in order waiting tun0 to be up)
$SED "s?^After=.*?After=network.target remote-fs.target nss-lookup.target chilli.service?g" /lib/systemd/system/lighttpd.service
# Log file for ACC access imputability
[ -e /var/Save/security/acc_access.log ] || touch /var/Save/security/acc_access.log