Low priority file????

Hi all,

   which file has the low priority while linux booting?. I just want to run a script in background with low priority while linux boots up.\(I need to include that script to be called from that file\) as am a newbie to linux. Any help is appreciated.

Thanks,
SMNK

Try

nice script-name

You can append that to /etc/rc.local. If you want it to start earlier in the boot cycle, then you should modify /etc/rc.sysinit. Beware -- making the wrong step here means using a disaster recovery CD or other.

---------- Post updated 07-29-10 at 01:22 PM ---------- Previous update was 07-28-10 at 06:20 PM ----------

I wrote my answer in haste. Do you still have any questions?

If you use Ubuntu you could make an autorun desktop-file
put a autorunscript.desktop in /etc/xdg/autostart and copy this with your specifications:

[Desktop Entry]
Type=Application
Name=AutostartScript
Terminal=true
Exec=`./script`

I use it for some embedded systems and it's really usefull because it's so simple and harmless against the system (and it works really good) :slight_smile:
Here is a nice Page about .desktop files :wink: