Proyecto

General

Perfil

« Anterior | Siguiente » 

Revisión 25

Corregido error descargando deny_https.all

Ver diferencias:

limitar-https/trunk/deny_https.sh
mv $FICHERO /etc/init.d/
#update-rc.d $FICHERO defaults (nivel 20)
update-rc.d -f $FICHERO remove 2>&1 /dev/null
update-rc.d $FICHERO start 99 2 3 4 5 . stop 99 0 1 6 .
if [ -e /etc/init.d/deny_https ] && [ -e /etc/rc2.d/S99deny_https ]; then
update-rc.d -f $FICHERO remove 2>&1 /dev/null
fi
update-rc.d $FICHERO start 31 2 3 4 5 . stop 31 0 1 6 .
# Descarga el fichero con webs iniciales a cortar
FICHERO=deny_https.all
wget -q -O $FICHERO $RUTA/$FICHERO?format=raw

Exportar a: Unified diff