Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (2) </ 1 [2] >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: run mydsl-load when starting dsl< Next Oldest | Next Newest >
RigasW Offline





Group: Members
Posts: 59
Joined: April 2006
Posted: May 28 2007,18:41 QUOTE

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
Back to top
Profile PM 
mikshaw Offline





Group: Members
Posts: 4856
Joined: July 2004
Posted: May 28 2007,20:23 QUOTE

.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


--------------
http://www.tldp.org/LDP/intro-linux/html/index.html
Back to top
Profile PM WEB 
RigasW Offline





Group: Members
Posts: 59
Joined: April 2006
Posted: May 29 2007,06:49 QUOTE

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
Back to top
Profile PM 
7 replies since May 28 2007,12:23 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (2) </ 1 [2] >/
reply to topic new topic new poll
Quick Reply: run mydsl-load when starting dsl

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code