LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   How to run 'depmod -all' during boot or login? (https://www.linuxquestions.org/questions/linux-general-1/how-to-run-depmod-all-during-boot-or-login-99222/)

pete_bogg 10-01-2003 09:04 PM

How to run 'depmod -all' during boot or login?
 
After going around and around trying to get hsflinmodem-5.03.27lnxtbeta03042700k2.4.21_0.13mdk-1mdk.i586 to run on correctly on my machine with Mandrake 9.1, I found that I can issue the following command as root for kppp to 'find' my modem: depmod --all. This works great, except that my children also use the modem and I have to run this command to get kppp to work.

Is there a way that I can add this command to a boot script or a user login script?

m0rl0ck 10-03-2003 12:44 AM

Add "/sbin/depmod -a" to your /etc/rc.local file. Whats probably hapening is that the serial port module isnt being loaded.


All times are GMT -5. The time now is 01:13 PM.