LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices



Reply
 
Search this Thread
Old 08-11-2005, 06:33 PM   #1
newusermike
Member
 
Registered: Jul 2005
Posts: 38

Rep: Reputation: 15
how to launch a script automatically


ok this seems strange but I must ask.

I created a script to temporarily fix my mknod issue for ttyUSB1 in fedora 4 for syncing my palm.

however I can't get the script to launch automatically why?

script is setting on the desktop which is logged in as a user script called ./mknod

the first line of the script is #/bin/shell

I can run the script from the root user by going to /home/jph/Desktop then typing in ./mknod this works so I know the script is right.
But what I need is the script to execute on boot
Can someone tell me what I am missing.

thanks again
 
Old 08-11-2005, 06:39 PM   #2
rstewart
Member
 
Registered: Feb 2005
Location: Sunnyvale, CA
Distribution: Ubuntu
Posts: 205

Rep: Reputation: 38
Why not invoke your script from within the /etc/rc.d/rc.local file? This file is automatically executed each time the system comes up and is specially made for initialization type things.
 
Old 08-12-2005, 07:19 PM   #3
newusermike
Member
 
Registered: Jul 2005
Posts: 38

Original Poster
Rep: Reputation: 15
Thanks I will try that
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
How can I force audio cd's to automatically launch and run in xmms? corso64 Linux - Newbie 1 08-29-2004 01:44 AM
launch script for thunderbird? webazoid Linux - Software 2 07-11-2004 10:31 PM
slackware - launch Gnome automatically? jhecht Linux - Software 5 06-26-2004 08:12 AM
firefox launch script curmudgeon42 Linux - Software 2 06-06-2004 09:20 PM
Automatically Launch apps. with Fluxbox ganninu Linux - Software 1 08-17-2003 01:29 PM


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

Main Menu
Advertisement
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