diff options
| author | tv <tv@xso> | 2011-09-05 20:46:22 +0200 |
|---|---|---|
| committer | tv <tv@xso> | 2011-09-05 20:46:22 +0200 |
| commit | cbeb3f56c562905b97d1c3fec8b5ebfa9684c149 (patch) | |
| tree | 68eacbea50a8f460a7f8566fe955319e780a0412 /god | |
| parent | 2f5655ced03243ef03eb3417c9f090117568a885 (diff) | |
| parent | 2cf53c89ee1027ef5629a71b3ca98c90a8801a17 (diff) | |
Merge branch 'master' of github.com:krebscode/painload
Diffstat (limited to 'god')
| -rwxr-xr-x | god/licht | 14 |
1 files changed, 14 insertions, 0 deletions
@@ -1,4 +1,18 @@ #!/bin/bash +# +#SYNOPSIS +# //god/licht [options] [0/1] +#OPTIONS +# all - toggles all lights +# links - toggles all lights on the left hand side while looking towards the Auditorium +# rechts - toggles all lights on the right hand side while looking towards the Auditorium +# kuschel - toggles the lights in the pwnie corner +# software - toggles the software corner +# tische - toggles the lights on the window side of the long table +# porsche - toggles the lights on the window side where the porsche cockpit is +# ghetto - toggles the lights in the hallway +# 0-7 - toggles individual lights + toggle() { LAMPE=`echo "$1" | sed -n '/^[1-2]*[0-9]*[0-9]$/p' | xargs echo "obase=16;" | bc` TOGGLE=`echo "$2" | sed -n '/^[0-1]/p'` |
