root/limitar-https/trunk/deny_https.sh @ 17
16 | antoniojas | #!/bin/sh
|
|
RUTA=http://desarrollo.educarex.es/linex/projects/servidoressecundaria/repository/entry/limitar-https/tru$
|
|||
FICHERO=deny_https
|
|||
# Descarga el script para tratar el tráfico https en los IES
|
|||
wget -q -O $ $RUTA/$FICHERO?format=raw
|
|||
chmod +x $FICHERO
|
|||
mv $FICHERO /etc/init.d/
|
|||
#update-rc.d $FICHERO defaults (nivel 20)
|
|||
update-rc.d $FICHERO start 31 2 3 4 5 . stop 31 0 1 6 .
|
|||
/etc/init.d/$FICHERO start
|