|
ECS Home Automation and Security Archives |
learn more
| view messages for this
month | NetBloc® | terms of use | search
subject (prev) or (next) |
time (prev) or (next) |
author (prev) or (next) |
view more subjects
Subject: From: Date: | Linux auto-cmds at login Mark Gilmore Mon, 27 Oct 2003 17:13:36 -0800 |
Mon, 27 Oct 2003 17:13:36 -0800
The goal for this KNOPPIX application:
I need to run ECS when knoppix logs in the "knoppix" user
(which it does *automatically* at bootup).
The ECS cfg will then run a JAVA pgm after init.
There is *no* browser access.
btw, I don't know if I need to start a bash session to run a JAVA pgm.
In trying to empirically determine where to place the commands
(a perpetual problem), I created the following files with contents following:
/home/mark/.bashrc
echo x > bashrc.tmp
edm.bin
/home/mark/.bash_profile
echo x > bash_profile.tmp
edm.bin
/home/mark/.profile
echo x > profile.tmp
edm.bin
When I logged in, only bashrc and bash_profile were executed
(as their .tmp files were created).
edm.bin was *not* run by any (but perhaps I need to start a bash session
1st ??).
I also note that my command prompt was changed to "bash-2.05b$" (??).
Any ideas ?
Thanks,
Mark Gilmore
http://OmnipotenceSoftware.com
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.528 / Virus Database: 324 - Release Date: 10/16/2003
subject (prev) or (next) |
time (prev) or (next) |
author (prev) or (next) |
view more subjects