Apps :: run mydsl-load when starting dsl
When I start the following script manually as user dsl from within my PXE booted DSL, java is installed and my application git is started:
[CODE]
cd /
mydsl-load jre1_5_0.tar.gz &
sleep 20
export PATH="${PATH}:/ramdisk/opt/jre1_5_0/bin"
cd git
sh git.sh
[CODE]
The only thing that I still want is to execute those steps automatically when booting.
So I remastered an succeded with:
- extending PATH via .bashrc
- suppressing dillo in .xinitrc
But calling mydsl-load via .xinitrc leads to the error message, stated in the beginning.
Any ideas
Rigas
.xinitrc runs from within /home/dsl. Unless you use the absolute path to jre1_5_0.tar.gz, mydsl-load won't find it:
mydsl-load /jre1_5_0.tar.gz
or
cd / && mydsl-load jre1_5_0.tar.gz
I don't recommend the cd method, though, unless you cd back to /home/dsl after mydsl-load. It will cause problems for you later, since the window manager will also start from / and some things in DSL rely on paths relative to /home/dsl
Hi Mikshaw,
you did it!
I now use the absolute path ... and it works.
So I have a way to use mydsl-extensions within a PXE booted DSL installation.
Now we take a break and go to Paris for week ....
Thanks
Rigas
original here.