Revisión 28
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)
|
||
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
|
||
#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 .
|
||
|
Exportar a: Unified diff
...