I have to load a module which is available as a binary
only to get my USB-webcam working. Doing this manually
with 'insmod -f modulename.o' is not problem, but I'd
like to have this automated at startup.
What is the best or "most standard" way to do so?
Regards,
Jens
PS: Using Woody.
--
"\"Hello World!\" 17 errors, 31 warnings, continue (Y/N)?
That's a job for init!
All stuff to be done at startup is defined in scripts located in
/etc/init.d. Write your own script, and place it there (as root...).
Don't forget to place links to your skript into the /etc/rc{runlevel}.d
-dirs, according to the runlevel you want your script to be executed.
Read the /etc/init.d/README and the init-manpage for more information.
Olli
--
> I have to load a module which is available as a binary only to get my
> USB-webcam working. Doing this manually with 'insmod -f modulename.o' is
> not problem, but I'd like to have this automated at startup.
>
> What is the best or "most standard" way to do so?
elmar@julian:~$ cat /etc/modules
# /etc/modules: kernel modules to load at boot time.
#
# This file should contain the names of kernel modules that are
# to be loaded at boot time, one per line. Comments begin with
# a #, and everything on the line after them are ignored.
# rtl8139
8139too
sb
lm75
ide-scsi
elmar@julian:~$
and see:
$ man modules
:-)
Regards,
Elmar
--
Elmar...@web.de
>> I have to load a module which is available as a binary only to get my
>> USB-webcam working. Doing this manually with 'insmod -f modulename.o' is
>> not problem, but I'd like to have this automated at startup.
>>
>> What is the best or "most standard" way to do so?
> elmar@julian:~$ cat /etc/modules
> # /etc/modules: kernel modules to load at boot time.
[...]
> and see:
> $ man modules
You can't use the force-option there, can you? ;)
Regards,
Jenne
--
Maintainer's Motto: If we can't fix it, it ain't broke.
>>> I have to load a module which is available as a binary only to get my
>>> USB-webcam working. Doing this manually with 'insmod -f modulename.o'
>>> is not problem, but I'd like to have this automated at startup.
>>>
>>> What is the best or "most standard" way to do so?
>
>> elmar@julian:~$ cat /etc/modules
>> # /etc/modules: kernel modules to load at boot time.
> [...]
>
>> and see:
>> $ man modules
>
> You can't use the force-option there, can you? ;)
Oh, didn't thought about that. No, I don't think you can use it there, at
least I don't know how.
Regards,
Elmar
--
Elmar...@web.de