Revisión 22
Añadido por Antonio J. Abasolo Sierra hace más de 14 años
limitar-https/trunk/deny_https.sh | ||
---|---|---|
mv $FICHERO /etc/init.d/
|
||
|
||
#update-rc.d $FICHERO defaults (nivel 20)
|
||
update-rc.d -f $FICHERO remove
|
||
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 .
|
||
|
||
# Descarga el fichero con webs iniciales a cortar
|
||
FICHERO=deny_https.all
|
||
wget -q -O $ $RUTA/$FICHERO?format=raw
|
||
mv $FICHERO /etc/network/deny_https.ies
|
||
wget -q -O $FICHERO $RUTA/$FICHERO?format=raw
|
||
cp $FICHERO > /etc/network/deny_https.ies
|
||
|
||
/etc/init.d/$FICHERO start
|
||
|
Exportar a: Unified diff
Corregido error descargando deny_https.all