Nowe posty

xx Problem ze sterownikami. (5)
2024-04-13, 21:25:16
xx Instalacja xfce4 (2)
2024-04-13, 16:20:17
xx Serie kompilacji bez instalacji dla “emerge” w Gentoo (2)
2024-04-08, 18:40:04
xx Plasma 6 w Neonie ssie trochę mniej ... (17)
2024-04-05, 10:03:46
xx Problem z Linux Lite po instalacji (3)
2024-04-03, 14:23:40
xx Jak właczyć num locka przy starcie systemu debian 12? (12)
2024-04-02, 17:43:54
xx Brak dźwieku w systemie. (5)
2024-04-02, 16:13:41
xx Dystrybucja pod HP Omen (7)
2024-03-29, 11:33:05
xx [Poradnik] Wyszukiwanie Sterowników (2)
2024-03-27, 21:08:23
xx Ile pingwinów? (1)
2024-03-27, 08:59:24

Autor Wątek: Where to write to load some modules  (Przeczytany 3068 razy)

Orlando

  • Gość
Where to write to load some modules
« dnia: 2008-01-30, 09:48:20 »
Hi all. I've got a new question: where (which file) I have to write some script or simply "modprobe APM" (maybe /etc/init.d) to load module APM during booting?

chmooreck

  • Gość
Where to write to load some modules
« Odpowiedź #1 dnia: 2008-01-30, 10:09:21 »
I think it's distribution dependent. There is, at least in gentoo, file: /etc/modules.autoload/kernel2.x which contains modules names to load at start.

Edit:
ArchLinux: option in /etc/rc.conf

Offline ultr

  • Users
  • Guru
  • *****
  • Wiadomości: 1177
    • Zobacz profil
Where to write to load some modules
« Odpowiedź #2 dnia: 2008-01-30, 10:10:31 »
Hello,

You would rather use /etc/modules file to do this. This is it's name in Debian, in other distros it may be modules.conf of something similar.

Remember to use only modules' names there (no `modproble` command).


Regards.

Orlando

  • Gość
Where to write to load some modules
« Odpowiedź #3 dnia: 2008-01-31, 09:41:59 »
Thanks. Placing string "apm" in /etc/modules helped, module apm successfuly loads during booting