summaryrefslogtreecommitdiff
path: root/run
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2012-09-18 00:21:09 +0100
committerCarl Hetherington <cth@carlh.net>2012-09-18 00:21:09 +0100
commit48794870183ac5c0dd2b4acc1f9c2e5d7349f284 (patch)
tree1fd791507967788dd39d1dc46abd2d7c9c102e68 /run
parent1e8f1be709e8a3fa58f1147db2e58a39396313d8 (diff)
Basics of a tray-iconned GUI server.
Diffstat (limited to 'run')
-rwxr-xr-xrun/servomatic10
-rwxr-xr-xrun/servomatic_cli10
-rwxr-xr-xrun/servomatic_gui10
3 files changed, 20 insertions, 10 deletions
diff --git a/run/servomatic b/run/servomatic
deleted file mode 100755
index 100d0a8bd..000000000
--- a/run/servomatic
+++ /dev/null
@@ -1,10 +0,0 @@
-#!/bin/bash
-
-export LD_LIBRARY_PATH=build/src/lib:$LD_LIBRARY_PATH
-if [ "$1" == "--debug" ]; then
- gdb --args build/src/tools/servomatic
-elif [ "$1" == "--valgrind" ]; then
- valgrind --tool="memcheck" build/src/tools/servomatic
-else
- build/src/tools/servomatic
-fi
diff --git a/run/servomatic_cli b/run/servomatic_cli
new file mode 100755
index 000000000..3dd67d246
--- /dev/null
+++ b/run/servomatic_cli
@@ -0,0 +1,10 @@
+#!/bin/bash
+
+export LD_LIBRARY_PATH=build/src/lib:$LD_LIBRARY_PATH
+if [ "$1" == "--debug" ]; then
+ gdb --args build/src/tools/servomatic_cli
+elif [ "$1" == "--valgrind" ]; then
+ valgrind --tool="memcheck" build/src/tools/servomatic_cli
+else
+ build/src/tools/servomatic_cli
+fi
diff --git a/run/servomatic_gui b/run/servomatic_gui
new file mode 100755
index 000000000..4f1c617cc
--- /dev/null
+++ b/run/servomatic_gui
@@ -0,0 +1,10 @@
+#!/bin/bash
+
+export LD_LIBRARY_PATH=build/src/lib:$LD_LIBRARY_PATH
+if [ "$1" == "--debug" ]; then
+ gdb --args build/src/tools/servomatic_gui
+elif [ "$1" == "--valgrind" ]; then
+ valgrind --tool="memcheck" build/src/tools/servomatic_gui
+else
+ build/src/tools/servomatic_gui
+fi