X728-script: Difference between revisions

Replace <comments/> with <comment-streams />
 
(9 intermediate revisions by 2 users not shown)
Line 14: Line 14:
1. Use '''gpiod''' instead of obsolete interface
1. Use '''gpiod''' instead of obsolete interface


2. The script now supports the Raspberry Pi OS '''BOOKWORM''' version. You just need to '''uninstall''' the original script and '''reinstall''' it. Please refer to the following:
2. The script now supports the Raspberry Pi OS '''Trixie''' and '''BOOKWORM''' version. You just need to '''uninstall''' the original script and '''reinstall''' it. Please refer to the following:


OPen ternimal window, then run the following command:
OPen ternimal window, then run the following command:
Line 68: Line 68:


===Clone the script===
===Clone the script===
Clone pruduct software script if use the last '''Trixie''' OS, please adhere to capitalization.
git clone -b Trixie https://github.com/geekworm-com/x728-script
Please use the following command to get the software script if you are using '''BOOKWORM''' OS
git clone https://github.com/geekworm-com/x728-script
'''PS''': Run the following command to view system information:
<pre>
<pre>
git clone https://github.com/geekworm-com/x728-script
pi@geekworm:~ $ lsb_release -a
No LSB modules are available.
Distributor ID: Raspbian
Description: Raspbian GNU/Linux 13 (trixie)
Release: 13
Codename: trixie
</pre>
The above last line "Codename" indicates that the current system is '''Trixie''' OS.


cd x728-script
Set executable permissions for script files:
chmod +x *.sh
cd x728-script
</pre>
chmod +x *.sh
'''PS''': For some OS such as 'Raspberry Pi OS Lite', the '''git''' tool is not installed by default, if you get an error like '''error: -bash: git: command not found''', please run the following command to install the git tool.
'''PS''': For some OS such as 'Raspberry Pi OS Lite', the '''git''' tool is not installed by default, if you get an error like '''error: -bash: git: command not found''', please run the following command to install the git tool.
  sudo apt install -y git
  sudo apt install -y git
Line 237: Line 249:


<!--Add review function! -->
<!--Add review function! -->
<comments />
<comment-streams id="main" />


<!--Please choose the  -->
<!--Please choose the  -->