Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 08-11-2005, 05:33 PM   #1
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, 05:39 PM   #2
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, 06:19 PM   #3
Registered: Jul 2005
Posts: 38

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


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 12:44 AM
launch script for thunderbird? webazoid Linux - Software 2 07-11-2004 09:31 PM
slackware - launch Gnome automatically? jhecht Linux - Software 5 06-26-2004 07:12 AM
firefox launch script curmudgeon42 Linux - Software 2 06-06-2004 08:20 PM
Automatically Launch apps. with Fluxbox ganninu Linux - Software 1 08-17-2003 12:29 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:33 AM.

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
Open Source Consulting | Domain Registration