diff --git a/delta-pi-powerbutton.py b/delta-pi-powerbutton.py index cecc42b..da79d73 100644 --- a/delta-pi-powerbutton.py +++ b/delta-pi-powerbutton.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 import RPi.GPIO as GPIO diff --git a/script/install b/script/install index 8c64d31..36411b1 100644 --- a/script/install +++ b/script/install @@ -14,11 +14,11 @@ sudo chmod +x /etc/init.d/delta-pi-service-start.sh echo "=> Installing Delta Pi Fan & LED...\n" sudo cp delta-pi-fan-led.py /home/pi -sudo echo 'sudo python /home/pi/delta-pi-fan-led.py' >> /etc/profile +sudo echo 'sudo python3 /home/pi/delta-pi-fan-led.py' >> /etc/profile sudo update-rc.d delta-pi-service-start.sh defaults sudo /etc/init.d/delta-pi-service-start.sh start echo "Delta Pi Features Installed.\n" echo "You need to restart your system to make the changes work" -echo "You need to restart your system to make the changes work" \ No newline at end of file +echo "You need to restart your system to make the changes work"