pidor/scripts/lockbutton.sh.d/03receiver.sh

6 lines
97 B
Bash
Executable File

#!/bin/bash
if [ "$1" = "pushed" ]
then
$(dirname $0)/../lightcommander receiver shutdown &
fi