Commit 33314ad2 authored by gnomus's avatar gnomus
Browse files

Initial commit with current scripts

parents
#!/bin/sh
echo "Initializing Door Systems..."
echo "2" > /sys/class/gpio/unexport
echo "2" > /sys/class/gpio/export
sleep 0.5
echo "Securing Communication to Door Systems..."
echo "out" > /sys/class/gpio/gpio2/direction
sleep 0.5
echo "Open Communication Channel..."
curl dooris.gnomus.de/dooropen
echo "Opening Door..."
echo "1" > /sys/class/gpio/gpio2/value
sleep 1
echo "Welcome"
echo "0" > /sys/class/gpio/gpio2/value
#!/bin/sh
#echo "Initializing Door Systems..."
#echo "2" > /sys/class/gpio/unexport
#echo "2" > /sys/class/gpio/export
#sleep 0.5
#echo "Securing Communication to Door Systems..."
#echo "out" > /sys/class/gpio/gpio2/direction
#sleep 0.5
#echo "Open Communication Channel..."
curl dooris.gnomus.de/lock
#echo "Opening Door..."
#echo "1" > /sys/class/gpio/gpio2/value
#sleep 1
#echo "Welcome"
#echo "0" > /sys/class/gpio/gpio2/value
#!/bin/sh
#echo "Initializing Door Systems..."
#echo "2" > /sys/class/gpio/unexport
#echo "2" > /sys/class/gpio/export
#sleep 0.5
#echo "Securing Communication to Door Systems..."
#echo "out" > /sys/class/gpio/gpio2/direction
#sleep 0.5
#echo "Open Communication Channel..."
curl dooris.gnomus.de/unlock
#echo "Opening Door..."
#echo "1" > /sys/class/gpio/gpio2/value
#sleep 1
#echo "Welcome"
#echo "0" > /sys/class/gpio/gpio2/value
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment