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

Notices

Reply
 
LinkBack Search this Thread
Old 12-22-2004, 09:54 PM   #1
pwhitey86
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

thanks

paul
 
Old 12-22-2004, 09:58 PM   #2
ashamril
Member
 
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, 10:13 PM   #3
pwhitey86
LQ Newbie
 
Registered: Dec 2004
Location: NJ, USA
Distribution: Debian
Posts: 15

Original Poster
Rep: Reputation: 0
very good that worked

thanks
 
  


Reply


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
Trackbacks are Off
Pingbacks are On
Refbacks are 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 10:22 PM
Adding a shell script to startup Dakkar Suse/Novell 3 10-15-2005 08:00 AM
Exectuing Shell Script on Gnome Startup lloracle_dba Linux - Software 4 05-03-2005 03:32 PM
auto execute shell script on startup slackwbas Slackware 9 02-27-2005 10:26 AM
creating shell script that executes as root regardless of who runs the script? m3kgt Linux - General 13 06-04-2004 10:23 PM


All times are GMT -5. The time now is 08:10 AM.

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