summaryrefslogtreecommitdiff
path: root/frc-libre/smartdashboard-client/smartdashboard.sh
diff options
context:
space:
mode:
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