Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.


  Search this Thread
Old 12-22-2004, 10:54 PM   #1
LQ Newbie
Registered: Dec 2004
Location: NJ, USA
Distribution: Debian
Posts: 15

Rep: Reputation: 0
what shell script runs only at bootup/startup

I am a 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


Old 12-22-2004, 10:58 PM   #2
Registered: Jan 2003
Location: cyberjaya
Distribution: rh mdk deb fed suse
Posts: 99

Rep: Reputation: 15
i'm not using mandrake anymore, but u can try put those commands in rc.local
Old 12-22-2004, 11:13 PM   #3
LQ Newbie
Registered: Dec 2004
Location: NJ, USA
Distribution: Debian
Posts: 15

Original Poster
Rep: Reputation: 0
very good that worked



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Startup script failing at bootup, works when logged on cmowl Linux - Enterprise 1 10-20-2005 11:22 PM
Adding a shell script to startup Dakkar SUSE / openSUSE 3 10-15-2005 09:00 AM
Exectuing Shell Script on Gnome Startup lloracle_dba Linux - Software 4 05-03-2005 04:32 PM
auto execute shell script on startup slackwbas Slackware 9 02-27-2005 11:26 AM
creating shell script that executes as root regardless of who runs the script? m3kgt Linux - General 13 06-04-2004 11:23 PM

All times are GMT -5. The time now is 07:14 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration