![]() ![]() 11 # 12 # By default this script does nothing. ![]() 8 # 9 # In order to enable or disable this script just change the execution 10 # bits. 6 # Make sure that the script will "exit 0" on success or any other 7 # value on error. Put the command line in the /etc/rc.local file: ( Default)ġ #!/bin/sh -e 2 # 3 # rc.local 4 # 5 # This script is executed at the end of each multiuser runlevel. How to make the fan script run automatically after booting?ġ. Read-fan-speed.py sudo python3 read_fan_speed.pyĪfter a reboot, we can run ```sudo python read_fan_speed.py``` to get an update on the fan's current speed. press button 3 seconds to safe shutdown,.x735off is safe shutdown command, you can run this command to safe shutdown.If reboot fails, please force shutdown or power off and restart Sudo apt-get install -y python3-smbus python3-rpi.gpioĮcho "alias x735off='sudo /usr/local/bin/x735softsd.sh'" > ~/.bashrc Sudo apt-get install -y pigpio python3-pigpio Test '-raspios-bullseye-armhf-lite.img' on May 6th 2022 This guide also applies to X735 V3.0 / V2.5 shield;įor Raspbian / Raspbian Lite / RetroPie / Twister OS v2.0.2 ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |