Where is my init.d?
Probably a very simple question, but I recently installed Slack 11 and am running 2.6.18 kernel. Everything is working fine or I am getting it there. My only real problem so far is that when adding the new kernel I used the .tgz package so I didn't get to opt for loading my acpi modules. No problem, did that later with insmod. Now to try to get the changes to stick I tried update-modules and I get the response
"command not found" so simple enough, it doesn't exist, but where do I find it? Also I wanted to add some power saving scripts to /etc/init.d and it's not there. I know I fouled up somewhere but damned if I can figure it out. |
In slackware you have the rc.d folder. There's no init.d folder. It uses BSD style init scripts.
|
Try adding "/sbin/modprobe" commands for your modules to the file /etc/rc.d/rc.modules
The command "update-modules" is something of Debian I think. Eric |
Quote:
Do I assume that it will look that deeply into the directory? Also, when I edit rc.modules would I include the .ko extension or no? Like this maybe ### ACPI Power blah blah ### /sbin/modprobe processor.ko or /sbin/modprobe processor Any help I appreciate. |
The module extension is not needed:
Code:
sbin/modprobe processor Eric |
Thanks, your the best!
|
All times are GMT -5. The time now is 04:37 AM. |