Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[rc-update]Como ordenar el arranque (cerrado)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Spanish
View previous topic :: View next topic  
Author Message
artic
Veteran
Veteran


Joined: 22 Nov 2003
Posts: 1208

PostPosted: Tue Jul 13, 2004 7:50 pm    Post subject: [rc-update]Como ordenar el arranque (cerrado) Reply with quote

Hola a todos ,tengo un problema al hacer un rc-update por ej inicializo las iptables rc-update add iptables default y tb athcool rc-update add athcool default ,bueno pues al arrancar uno se inicializara antes q el otro,y lo q quiero saber es como alterar ese orden.
Gracias


Last edited by artic on Tue Jul 13, 2004 10:50 pm; edited 1 time in total
Back to top
View user's profile Send private message
nx12
Apprentice
Apprentice


Joined: 14 Jan 2004
Posts: 193

PostPosted: Tue Jul 13, 2004 8:55 pm    Post subject: Reply with quote

Prueba
Code:
rc-update add athcool boot
rc-update add iptables network

_________________
signature sucks
Back to top
View user's profile Send private message
kabutor
l33t
l33t


Joined: 12 Dec 2002
Posts: 821
Location: Benalmadena - Melrose Place

PostPosted: Tue Jul 13, 2004 10:32 pm    Post subject: Reply with quote

creo que en las cabeceras de los scripts de inicio se puede poner un depend, mirando el iptables por ejemplo:

Code:
depend() {
        before net
        need logger
}


Pero hay algunos que hay q arrancar en boot level como dicen ahi mas arriba :D
Back to top
View user's profile Send private message
artic
Veteran
Veteran


Joined: 22 Nov 2003
Posts: 1208

PostPosted: Tue Jul 13, 2004 10:49 pm    Post subject: Reply with quote

Si he leido el manual de init scripts en gentoo y pone muchas opciones sobre incluirle dependencias q necesita y sobre posicionarlo en el arranque,precisamente con esas lineas q tu me dices,es increible lo util q son estos script.
Pero tb me he fijado q esto aparentemente solo es usado por gentoo pq los init scripts de los programas q no estan en el portage no viene con esas cabeceras y suelen dar problemas.
Gracias por la ayuda .
Salu2
Back to top
View user's profile Send private message
kabutor
l33t
l33t


Joined: 12 Dec 2002
Posts: 821
Location: Benalmadena - Melrose Place

PostPosted: Tue Jul 13, 2004 11:40 pm    Post subject: Reply with quote

claro, por eso te dice siempre si usas un script no-gentoo que ejecutes depscan.sh ese, para que ordene la dependencia de ese script.

Nunca me he puesto pero coger un script y modificarlo para que funcione en gentoo correctamente sera ajustar algun que otro path, y añadir dichas dependencias, no creo que tengan nada mas nuevo :)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Spanish All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum