Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
script
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index French
View previous topic :: View next topic  
Author Message
Dorgendubal
Apprentice
Apprentice


Joined: 24 Apr 2003
Posts: 231
Location: Switzerland (Zürich)

PostPosted: Thu May 22, 2003 4:46 pm    Post subject: script Reply with quote

j'ai un prog que j'aimerai lancer automatiquement en tant que root (à savoir v4l-conf). Il existe sûrement un script qui se lance à chaque démarrage, mais je sais pas lequel.

Pour le moment, j'ai placé ma commande dans /etc/profile mais ça me parait pas le bon choix, parce que la commande est réexécutée à chaque ouverture de terminal.
Back to top
View user's profile Send private message
yuk159
Veteran
Veteran


Joined: 18 Apr 2003
Posts: 1802
Location: noumea ,nouvelle-caledonie

PostPosted: Thu May 22, 2003 4:50 pm    Post subject: Reply with quote

d'apres ce que j'avais lu sur gentoo.org tu peut lancer des trucs perso dans /etc/conf.d/local.start

mais comme je connais pas ton prog' je me goure peut-etre
_________________
The box said: "Requires Windows 98/2000/XP/NT, or better."
So, I installed LINUX!
Instagram
Back to top
View user's profile Send private message
TGL
Bodhisattva
Bodhisattva


Joined: 02 Jun 2002
Posts: 1978
Location: Rennes, France

PostPosted: Thu May 22, 2003 10:26 pm    Post subject: Reply with quote

Le local.start me semble très bien pour ça en effet.

Ceci dit, v4l-conf peut aussi marcher en user si tu es dans le groupe "video" et que tu décommentes cette ligne du /etc/devfsd.conf :
Code:
# Video4Linux devices
REGISTER       v4l/.*       PERMISSIONS root.video 660

(enfin, si tu utilises devfs)

Moi je le lance en user depuis mon script de démarrage de xawdecode.
Back to top
View user's profile Send private message
Dorgendubal
Apprentice
Apprentice


Joined: 24 Apr 2003
Posts: 231
Location: Switzerland (Zürich)

PostPosted: Fri May 23, 2003 6:51 am    Post subject: Reply with quote

merci pour les infos, je vais essayer tout ça.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index French 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