summaryrefslogtreecommitdiff
path: root/frc-notworking/smartdashboard-client/smartdashboard.sh
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2012-01-29 15:29:41 -0500
committerLuke Shumaker <LukeShu@sbcglobal.net>2012-01-29 15:29:41 -0500
commite156b18c54682096c5d1ff52987e65c069bbea08 (patch)
tree2f41c507c86afb0d2501f82014c4a54097dd0a6a /frc-notworking/smartdashboard-client/smartdashboard.sh
parenta550dce37bbaf3d3e7666205c170144feaa3b1a0 (diff)
shuffle things around, add smartdashboard
Diffstat (limited to 'frc-notworking/smartdashboard-client/smartdashboard.sh')
-rw-r--r--frc-notworking/smartdashboard-client/smartdashboard.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/frc-notworking/smartdashboard-client/smartdashboard.sh b/frc-notworking/smartdashboard-client/smartdashboard.sh
new file mode 100644
index 0000000..4378584
--- /dev/null
+++ b/frc-notworking/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