Files
sf_bernina_scripts/laseroff

5 lines
239 B
Bash
Executable File

#!/bin/bash
caput SLAAR21-LTIM01-EVR0:FrontUnivOut3_SOURCE2 "HIGH"
caput SLAAR21-LPSYS-ESB:SHUT_TRANS "ON"
/sf/bernina/anaconda/bernina_envs/bernina37/bin/python -c 'import pyttsx3;e = pyttsx3.init();e.say("Laser blocked");e.runAndWait()'