Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Einem Modul Optionen mitgeben
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
Aproxx
Apprentice
Apprentice


Joined: 25 Jul 2003
Posts: 272

PostPosted: Mon Feb 07, 2005 11:30 am    Post subject: Einem Modul Optionen mitgeben Reply with quote

Hi,
Wie kann ich einem Modul, welches mit der /etc/modules.autoload/kernel2.6 geladen wird Optionen mitgeben?
Mfg,
Alex
Back to top
View user's profile Send private message
mctop
n00b
n00b


Joined: 15 Jan 2004
Posts: 38

PostPosted: Mon Feb 07, 2005 11:41 am    Post subject: Reply with quote

Hi,

also eigentlich sollte das in folgender Datei anzugeben sein (bin mir aber nicht zu 1000% sicher).

/etc/modules.d/aliases

Grüße

mctop
Back to top
View user's profile Send private message
Linuxpeter
Guru
Guru


Joined: 28 May 2004
Posts: 403
Location: Dresden, Germany

PostPosted: Mon Feb 07, 2005 11:42 am    Post subject: Reply with quote

Code:
# touch /etc/modules.d/<module-name>
# nano -w /etc/modules.d/<module-name>
Dort die entsprechenden Optionen eintragen.

Beispiel für Modul 'bttv' für TV-Karte 'LeadTek WinFast 2000 XP':
Code:
options bttv card=34 radio=1

Anschließend noch
Code:
# modules-update
ausführen.
_________________
Regards, Linuxpeter
Wenn "Windows" die Antwort ist, war es eine dumme Frage. ;-)
Is "Windows" the answer, then it was a stupid question. ;-)
Back to top
View user's profile Send private message
flo_02_mu
n00b
n00b


Joined: 06 Aug 2004
Posts: 73

PostPosted: Mon Feb 07, 2005 11:46 am    Post subject: Reply with quote

(ungetestet, müsste aber funktionieren)

Erstelle eine Datei /etc/modules.d/local mit dem Inhalt:
Code:
options modulname moduloptionen

Führe jetzt modules-update aus, das schreibt die Änderungen in /etc/modules.conf.

Flo
Back to top
View user's profile Send private message
Aproxx
Apprentice
Apprentice


Joined: 25 Jul 2003
Posts: 272

PostPosted: Mon Feb 07, 2005 11:54 am    Post subject: Reply with quote

Vielen Dank für die schnelle und umfangreiche Hilfe. Ich mach grad ein Backup, aber wenns fertig ist, teste ich es.
Mfg,
Alex
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) 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