LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Mandriva (https://www.linuxquestions.org/questions/mandriva-30/)
-   -   what shell script runs only at bootup/startup (https://www.linuxquestions.org/questions/mandriva-30/what-shell-script-runs-only-at-bootup-startup-269399/)

pwhitey86 12-22-2004 09:54 PM

what shell script runs only at bootup/startup
 
I am a :newbie: and I want to run the following commands only at startup/bootup:

insmod -f pctel
insmod -f ptserial
depmod -a

if i add these commands to /etc/profile -- they run everytime i open a new konsole.


what .sh or .csh or .whatever should i edit and add these commands to so that they only run at startup

btw running Mandrake 9.1

thanks

paul

ashamril 12-22-2004 09:58 PM

i'm not using mandrake anymore, but u can try put those commands in rc.local

pwhitey86 12-22-2004 10:13 PM

very good that worked
 
thanks :)


All times are GMT -5. The time now is 10:57 PM.