/scripts/alcasar-watchdog.sh |
---|
62,7 → 62,7 |
fi |
# EXTIF testing |
LAN_DOWN="0" |
if [ "`/usr/sbin/ethtool $EXTIF|grep Link|cut -d' ' -f3`" != "yes" ] |
if [ "`/usr/sbin/ethtool $EXTIF|grep Link|cut -d' ' -f3`" != "yes" ] && [ "`/sbin/mii-tool $EXTIF | grep -i link | awk '{print $NF}'`" != "ok" ] |
then |
LAN_DOWN="1" |
fi |
/alcasar.sh |
---|
615,7 → 615,7 |
# synchronisation horaire |
ntpd -q -g & |
# Sécurisation du centre |
rm -f /etc/httpd/conf/webapps.d/* |
rm -f /etc/httpd/conf/webapps.d/alcasar* |
cat <<EOF > /etc/httpd/conf/webapps.d/alcasar.conf |
<Directory $DIR_ACC> |
SSLRequireSSL |