e
This commit is contained in:
11
scripts/batteryIndicator.sh
Normal file
11
scripts/batteryIndicator.sh
Normal file
@@ -0,0 +1,11 @@
|
||||
# Thanks to: https://www.pisugar.com/blogs/pisugar-blog/display-raspberry-pi-battery-indicator
|
||||
|
||||
|
||||
sudo apt update
|
||||
sudo apt install -y build-essential linux-headers-$(uname -r) git
|
||||
git clone https://github.com/PiSugar/pisugar-power-manager-rs.git
|
||||
cd pisugar-power-manager-rs/pisugar-module/pisugar-3
|
||||
make
|
||||
sudo make install
|
||||
sudo insmod pisugar_3_battery.ko
|
||||
echo Done... Reboot to make the changes work
|
||||
24
scripts/risainstall.sh
Normal file
24
scripts/risainstall.sh
Normal file
@@ -0,0 +1,24 @@
|
||||
cd ~
|
||||
echo "INSTALLING RISA..."
|
||||
echo "Making Temp folder"
|
||||
mkdir -p inetTemp
|
||||
cd inetTemp
|
||||
|
||||
echo "Getting Latest Risa and the autostart script"
|
||||
wget https://git.inet-tech.net/iNet/risa/releases/download/latest/linux_arm64.zip
|
||||
wget https://git.inet-tech.net/iNet/Terra-Tweaks/raw/branch/main/extra/risaautoboot.desktop
|
||||
|
||||
echo "Extracting"
|
||||
unzip linux_arm64.zip -d risa
|
||||
|
||||
echo "Creating target directories if needed"
|
||||
mkdir -p ~/apps/inet
|
||||
mkdir -p ~/.config/autostart/
|
||||
|
||||
echo "Moving files"
|
||||
mv risa ~/apps/inet/
|
||||
mv risaautoboot.desktop ~/.config/autostart/
|
||||
chmod +x ~/.config/autostart/risaautoboot.desktop
|
||||
echo "Cleaning up temporary files"
|
||||
cd ~
|
||||
rm -rf inetTemp
|
||||
Reference in New Issue
Block a user