17 lines
343 B
Bash
Executable File
17 lines
343 B
Bash
Executable File
#!/bin/sh
|
|
|
|
|
|
ME=$(readlink -f "$0")
|
|
MP=$(dirname "$ME")
|
|
. ${MP}/kino.conf
|
|
|
|
sudo ~/433Utils/RPi_utils/codesend 7594946#Leini Up
|
|
irsend -d /var/run/lirc/lircd-lirc0 SEND_ONCE ${LIRC_BEAMER_AUS}
|
|
|
|
sispmctl -f ${PWR_TRUHE}
|
|
|
|
sleep 360 #Wait for Leini and Beamer cooldown
|
|
|
|
echo sispmctl -f ${PWR_BEAMER} #Beamer
|
|
echo sispmctl -f ${PWR_LEINI} #Leini
|