User Tools

Site Tools


informatica:linux:ejecutar_guion_arranque_reinicio_apagado

This is an old revision of the document!


startup shutdown reboot arranque script inicio

1. Crear el guión, por ejemplo 'guion.sh'

2. (Como root) Para ejecutarlo al arrancar:

update-rc.d -f foo.sh 99 2 3 4 5 .

Para ejecutarlo al apagar:

update-rc.d -f foo.sh start 90 0 .

Para ejecutarlo al reiniciar:

update-rc.d -f foo.sh reboot 90 0 6 .
informatica/linux/ejecutar_guion_arranque_reinicio_apagado.1263288423.txt.gz · Last modified: 2015/04/13 20:19 (external edit)