Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 08-15-2006, 12:30 PM   #1
LQ Newbie
Registered: Mar 2006
Posts: 3

Rep: Reputation: 0
running scripts at boot

I am using pclinux .92 jr.

I have a script i want to run at boot,I have seen other posts that say to put the script in rc.local but that does not exist in pclinux.

How can i get this script to run at boot?


Old 08-15-2006, 12:32 PM   #2
LQ Guru
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
Put it in any script, or create a new script, in your /etc/rc.something directory. The /etc/rc.... directory/directories include scripts that are run at boot. Some distributions have /etc/rc.local and some don't - but the rc-directory usually holds at least some scripts that are run at boot time, and in most cases you can simply write your own and put it there.
Old 08-15-2006, 12:48 PM   #3
LQ Newbie
Registered: Mar 2006
Posts: 3

Original Poster
Rep: Reputation: 0
Thanks for the reply!

I have tried putting the script in the rc.local directory but it doesn't run.

There must be a config file some where that tells the os what scripts to run.

Old 08-15-2006, 02:15 PM   #4
Senior Member
Registered: Dec 2005
Location: Campinas/SP - Brazil
Distribution: SuSE, RHEL, Fedora, Ubuntu
Posts: 1,414
Blog Entries: 1

Rep: Reputation: 65
If you can't figure out how to run scripts by the way discuted above, you can, at least, ask to root's crontab to run it at boot time:

root@localhost # crontab -l
@reboot /path/to/your/script
root@localhost #
This special time specification "@reboot" replace the 5 initial time and date fields.

Personally, I think this is a work-around. Others may have the opinion it is just another feature. Would be nice if you figure out how to do this using the default startup schema for your distro.

Last edited by marozsas; 08-15-2006 at 02:25 PM.


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 On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Running Scripts at Boot, via Cron etc maxhugen Linux - Newbie 2 12-06-2005 10:42 PM
running scripts at boot... thedp SUSE / openSUSE 2 10-17-2005 09:21 AM
running scripts at boot viniosity Ubuntu 3 07-19-2005 09:52 PM
My box hangs when running boot scripts elkrammer Linux - Distributions 5 03-31-2003 08:02 PM
Running scripts at boot time saintt Linux - Software 1 08-09-2002 06:03 AM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 04:48 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration