Re: How to run program automatically while login?
On 16 Sep 2004 00:49:14 -0700, wilson wrote:
> Hi Bit Twister,
>
> What's the difference if I wrote in .bash_profile or in /etc/rc.local?
You asked for "on login". That is .bash_profile and would run
everytime you logged in.
Had you asked during bootup it would be /etc/rc.local or a startup
script in /etc/init.d with links in the /etc/rc.d/rcX.d directories
and only run during boot up or runlevel changes.
|