diff options
Diffstat (limited to 'licht/licht.sh')
-rw-r--r-- | licht/licht.sh | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/licht/licht.sh b/licht/licht.sh deleted file mode 100644 index d73a73c8..00000000 --- a/licht/licht.sh +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/bash -LAMPE="$1" -TOGGLE="$2" -LAMP=~s/[a-zA-Z]//g -TOGGLE=~s/[a-zA-Z]//g -STRING="\xA5\x5A\d$LAMPE\d$TOGGLE" -if [ $# != 2 ] -then - echo -ne "Usage: licht <lampe> <0/1>" -else - echo "$LAMPE$TOGGLE" - echo -ne "$STRING" | nc -u -w1 10.42.3.100 1337 -fi |