Skip to content

Commit

Permalink
preparing the config files so that the java app can read them.
Browse files Browse the repository at this point in the history
  • Loading branch information
ulrichard committed Feb 25, 2012
1 parent 8429aa5 commit bd90717
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
6 changes: 6 additions & 0 deletions debian/changelog
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
arexx-robot-arm (2.0-1~maverick) maverick; urgency=low

* preparing the config files so that the java app can read them.

-- Richard Ulrich <richi@paraeasy.ch> Sat, 25 Feb 2012 21:32:00 +0100

arexx-robot-arm (2.0-0~maverick) maverick; urgency=low

* arexx released a new version of the robotloader
Expand Down
5 changes: 3 additions & 2 deletions robotloader
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
#!/bin/sh

if [ -d "~/.robotloader" ]; then
if [ ! -d "~/.robotloader" ]; then
mkdir ~/.robotloader
cp -rf /etc/robotloader/* ~/.robotloader/
chmod 700 ~/.robotloader/*
fi

cd /usr/share/robotloader

java -Xmx256m -Djava.ext.dirs="/usr/share/java" -Djava.library.path="/usr/lib/jni" -jar RobotLoader_lib.jar -logdir=/var/log/robotloader -configdir=~/.robotloader
java -Xmx256m -Djava.ext.dirs="/usr/share/java" -Djava.library.path="/usr/lib/jni" -jar RobotLoader_lib.jar -logdir="/var/log/robotloader" -configdir="/home/${USER}/.robotloader"

0 comments on commit bd90717

Please sign in to comment.