1 2 3 4 5 6 7 8 9 10 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."