mirror of
https://github.com/binary-kitchen/doorlockd
synced 2024-11-17 04:29:11 +01:00
13 lines
148 B
Plaintext
13 lines
148 B
Plaintext
|
#!/bin/bash
|
||
|
PIDFILE=/tmp/doorlockd-pid
|
||
|
|
||
|
gpio load spi
|
||
|
gpio load i2c
|
||
|
|
||
|
/home/ralf/doorlockd-build/doorlockd &
|
||
|
PID=$!
|
||
|
|
||
|
echo $PID > $PIDFILE
|
||
|
|
||
|
wait $PID
|