Merge pull request #155 from aceisace/hotfix/rpi-4-support

Fixed auto-start on Rpi 4
This commit is contained in:
Ace 2021-01-18 00:15:22 +01:00 committed by GitHub
commit 5e7868162a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -83,7 +83,7 @@ inky.test() # test if Inkycal can be run correctly, running this will show a bi
inky.run() # If there were no issues, you can run Inkycal nonstop
EOF
echo -e "\e[1;36m"Updating crontab"\e[0m"
(crontab -l ; echo "@reboot python3 /home/$USER/inky_run.py &")| crontab -
(crontab -l ; echo "@reboot sleep 60 && python3 /home/$USER/inky_run.py &")| crontab -
fi
# Final words