From: realraum Date: Wed, 13 May 2009 15:49:16 +0000 (+0000) Subject: ... X-Git-Url: https://git.realraum.at/?p=svn42.git;a=commitdiff_plain;h=afc36c1874ead0a61d77846384081488d9616eb7 ... --- diff --git a/checkcard.pl b/checkcard.pl index 18109d4..263ffe7 100755 --- a/checkcard.pl +++ b/checkcard.pl @@ -6,7 +6,7 @@ my $fh; #my $fifofile = "/tmp/door_cmd.fifo"; my $socketfile = "/tmp/door_cmd.socket"; -exit(1) unless (-S $socketfile); +sleep(1) while (! -S $socketfile); my $socketaddr = sockaddr_un($socketfile); my $keys; diff --git a/tuer_socat.sh b/tuer_socat.sh new file mode 100755 index 0000000..dec15e3 --- /dev/null +++ b/tuer_socat.sh @@ -0,0 +1,2 @@ +#!/bin/bash +socat UNIX-CONNECT:/tmp/door_cmd.socket -