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? thanks don |
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.
|
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. don |
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:
Code:
root@localhost # crontab -l 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. |
All times are GMT -5. The time now is 11:24 PM. |