SmartAxiom / openhab

Automatically exported from code.google.com/p/openhab
0 stars 0 forks source link

Enhancement of start.sh and start_debug.sh #186

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
1. Feature Description
currently you have to go manually into the setup dir of the openhab setup. Like:
cd myOpenhabDir
start.sh

You could enhance the script easily to be executable from any place in the 
system by adding: cd `dirname $0`

so the script would be:
#!/bin/bash
cd `dirname $0`

# set path to eclipse folder. If local folder, use '.'; otherwise, use 
/path/to/eclipse/
eclipsehome="server";
.....

the enhanced file is attached.

Original issue reported on code.google.com by darko.pa...@googlemail.com on 18 Jan 2013 at 6:26

Attachments:

GoogleCodeExporter commented 8 years ago
thanks for sharing this ... will add to the scripts soon

Original comment by teichsta on 18 Jan 2013 at 7:37

GoogleCodeExporter commented 8 years ago

Original comment by kai.openhab on 18 Jan 2013 at 7:45

GoogleCodeExporter commented 8 years ago
fixed with change set 
http://code.google.com/p/openhab/source/detail?r=a28c30c2792a5b9cad065159255e212
7dec89b52.

Thanks, Darko

Original comment by teichsta on 4 Apr 2013 at 11:08