sorry, NOT Help please with Samba (being lazy!) Hi, Can someone please help with autostarting a program. When Linux starts, I want to start an exe before a user logs in (i.e as the machine boots), how do I do this? Kind regards Adrian Wells
--- "adrian.wells"
sorry, NOT Help please with Samba (being lazy!)
Hi,
Can someone please help with autostarting a program.
When Linux starts, I want to start an exe before a user logs in (i.e as the machine boots), how do I do this?
Well, assuming that you are using uses, one can add items into the file "/etc/init.d/boot.local" file, i.e.... --------------------- #!/bin/sh #/etc/init.d/boot.local exec some_app ---------------------- You might have to do something like this first... [ ! -e /etc/init.d/boot.local ] && touch /etc/init.d/boot.local In case, it does not exist. HTH, Thomas Adam ===== Thomas Adam "The Linux Weekend Mechanic" -- www.linuxgazette.com ________________________________________________________________________ Want to chat instantly with your online friends? Get the FREE Yahoo! Messenger http://uk.messenger.yahoo.com/
Hi Thomas, Further to your notes, I placed the full path and the prog name in /etc/int.d/boot.local Tried this with squid so far and it worked fine. Thanks Adrian Wells
--- "adrian.wells"
Hi Thomas,
Further to your notes, I placed the full path and the prog name in /etc/int.d/boot.local
/etc/init.d <- I hope :) :)
Tried this with squid so far and it worked fine.
Thanks
You're welcome. One caveat with using that file is that don't overload the amount of programs running from there.... If I can be of any further help, let me know. Kind Regards, Thomas Adam ===== Thomas Adam "The Linux Weekend Mechanic" -- www.linuxgazette.com ________________________________________________________________________ Want to chat instantly with your online friends? Get the FREE Yahoo! Messenger http://uk.messenger.yahoo.com/
participants (2)
-
adrian.wells
-
Thomas Adam