Nowe posty

xx Problem z Linux Lite po instalacji (1)
Dzisiaj o 15:19:31
xx Dystrybucja pod HP Omen (7)
Dzisiaj o 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
xx konfiguracja pale moon (0)
2024-03-24, 21:53:42
xx Plasma 6 w Neonie ssie trochę mniej ... (10)
2024-03-23, 02:38:11
xx problem z instalacja sterowników do karty sieciowej (3)
2024-03-18, 18:10:16
xx Plik abc.001 (1)
2024-03-17, 17:48:27
xx Zlecę dopracowanie programu w MatLab (0)
2024-03-13, 15:28:40
xx Linux Mint 21.3 XFCE brak dźwieku po paru minutach (karta muzyczna zintegrowana) (5)
2024-03-12, 23:07:01

Autor Wątek: Where to write to load some modules  (Przeczytany 3061 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