1
0
mirror of https://github.com/binary-kitchen/doorlockd synced 2024-11-16 20:19:13 +01:00
doorlockd-mirror/scripts/doorlockd-start
2015-05-11 19:18:30 +00:00

13 lines
148 B
Bash
Executable File

#!/bin/bash
PIDFILE=/tmp/doorlockd-pid
gpio load spi
gpio load i2c
/home/ralf/doorlockd-build/doorlockd &
PID=$!
echo $PID > $PIDFILE
wait $PID