doc:appunti:linux:sa:insserv
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| doc:appunti:linux:sa:insserv [2010/11/27 11:18] – created niccolo | doc:appunti:linux:sa:insserv [2010/11/27 12:20] (current) – niccolo | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Init script con insserv ====== | ====== Init script con insserv ====== | ||
| - | Con Debian Squeeze la gestione degli script | + | Con Debian Squeeze la gestione degli script **'' |
| + | |||
| + | La sequenza di boot si basa sulle dipendenze e il programma '' | ||
| + | |||
| + | Durante l' | ||
| + | |||
| + | Dopo aver aggiornato gli script con le informazioni sulle dipendenze, si informa il gestore dei pacchetti che si è migrati definitivamente al sistema di boot basato sulle dipendenze con il comando: | ||
| + | |||
| + | < | ||
| + | dpkg-reconfigure sysv-rc | ||
| + | </ | ||
| + | |||
| + | Il comando provvede anche ad eseguire **'' | ||
| + | |||
| + | Altre modifiche rispetto al sistema precedente riguardano il cambio di nome di tutti gli script **''/ | ||
| + | |||
| + | Quando il nuovo sistema di ordinamento è attivo, l' | ||
| + | |||
| + | Ecco come appaiono le informazioni di dipendenza nel file di esempio **''/ | ||
| + | |||
| + | < | ||
| + | ### BEGIN INIT INFO | ||
| + | # Provides: | ||
| + | # Required-Start: | ||
| + | # Required-Stop: | ||
| + | # Default-Start: | ||
| + | # Default-Stop: | ||
| + | # Short-Description: | ||
| + | # Description: | ||
| + | # placed in /etc/init.d. | ||
| + | ### END INIT INFO | ||
| + | </ | ||
doc/appunti/linux/sa/insserv.1290853116.txt.gz · Last modified: by niccolo
