Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
raspberry_boards:duino-pi_modification [2016/07/10 17:52] admin [Set the SSH connection] |
raspberry_boards:duino-pi_modification [2017/06/27 21:22] admin [Install Shutdown & Reset Button] |
||
---|---|---|---|
Line 14: | Line 14: | ||
2. Download and unzip that Python script | 2. Download and unzip that Python script | ||
- | <del>$ wget http://www.dernulleffekt.de/programme/shutdownbutton.py.tar.gz</del> | ||
$ wget http://www.dernulleffekt.de/programme/shutdownbutton_02.py.tar | $ wget http://www.dernulleffekt.de/programme/shutdownbutton_02.py.tar | ||
- | $ tar xf shutdownbutton.py.tar.gz | + | $ tar xf shutdownbutton_02.py.tar |
| | ||
2. Change owner & rights | 2. Change owner & rights | ||
Line 53: | Line 52: | ||
$ sudo nano /etc/rc.local | $ sudo nano /etc/rc.local | ||
write before exit 0: | write before exit 0: | ||
- | # run reset and shutdown script | + | # blink an LED |
printf "Starting blinking LED on GPIO 22" | printf "Starting blinking LED on GPIO 22" | ||
/home/pi/paper-duino-pi/blink_22.py & | /home/pi/paper-duino-pi/blink_22.py & |