summaryrefslogtreecommitdiff
path: root/frc-libre/smartdashboard-client/smartdashboard.sh
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2012-01-29 19:25:16 -0500
committerLuke Shumaker <LukeShu@sbcglobal.net>2012-01-29 19:25:16 -0500
commitf99d7432279b9d75e155d4d1240f32833e80108f (patch)
treefd4beec4ec317f5b05e3a5682b6409357de216cb /frc-libre/smartdashboard-client/smartdashboard.sh
parent6e4966a0d6e539205edd0832162c5218dca535d6 (diff)
mv frc-{bin,libre}/smartdashboard-client
Diffstat (limited to 'frc-libre/smartdashboard-client/smartdashboard.sh')
-rw-r--r--frc-libre/smartdashboard-client/smartdashboard.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/frc-libre/smartdashboard-client/smartdashboard.sh b/frc-libre/smartdashboard-client/smartdashboard.sh
new file mode 100644
index 0000000..4378584
--- /dev/null
+++ b/frc-libre/smartdashboard-client/smartdashboard.sh
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+cd /usr/share/smartdashboard
+
+if [ "`whoami`" == Driver ]; then
+ java -jar SmartDashboard.jar competition
+else
+ java -jar SmartDashboard.jar
+fi