summaryrefslogtreecommitdiffstats
path: root/startup
diff options
context:
space:
mode:
Diffstat (limited to 'startup')
-rwxr-xr-xstartup11
1 files changed, 11 insertions, 0 deletions
diff --git a/startup b/startup
new file mode 100755
index 0000000..7e483ea
--- /dev/null
+++ b/startup
@@ -0,0 +1,11 @@
+#!/usr/bin/env bash
+
+nc_print() {
+ echo -e "\e[35m${*}\e[0m"
+}
+
+nc_print "Starting LEAP Motion service..."
+sudo systemctl start leapd.service
+nc_print "Starting LEAP Motion control panel..."
+LeapControlPanel &
+nc_print "Done."