Skip to content

Commit

Permalink
Update again. Hopefully final for awhile
Browse files Browse the repository at this point in the history
  • Loading branch information
christianhaitian committed Feb 1, 2025
1 parent bed44fa commit f270739
Show file tree
Hide file tree
Showing 23 changed files with 225 additions and 25 deletions.
17 changes: 15 additions & 2 deletions Update-CHI.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash
clear

UPDATE_DATE="02012025-2"
UPDATE_DATE="02012025-3"
LOG_FILE="/home/ark/update$UPDATE_DATE.log"
UPDATE_DONE="/home/ark/.config/.update$UPDATE_DATE"

Expand Down Expand Up @@ -7231,7 +7231,7 @@ if [ ! -f "/home/ark/.config/.update01312025" ]; then

fi

if [ ! -f "$UPDATE_DONE" ]; then
if [ ! -f "/home/ark/.config/.update02012025-2" ]; then

printf "\nFix potential battery reading issue from 01312025 update for rk3566 devices\n" | tee -a "$LOG_FILE"
sudo rm -rf /dev/shm/*
Expand Down Expand Up @@ -7280,6 +7280,19 @@ if [ ! -f "$UPDATE_DONE" ]; then
printf "\nUpdate boot text to reflect current version of ArkOS\n" | tee -a "$LOG_FILE"
sudo sed -i "/title\=/c\title\=ArkOS 2.0 ($UPDATE_DATE)" /usr/share/plymouth/themes/text.plymouth

touch "/home/ark/.config/.update02012025-2"

fi

if [ ! -f "$UPDATE_DONE" ]; then

printf "\nFix PortMaster\nAdd KEY_SERVICE to RIGHTSTICK button for Hypseus-Singe\n" | tee -a "$LOG_FILE"

sed -i '/KEY_SERVICE \= SDLK_9 0 0 0 0/c\KEY_SERVICE \= SDLK_9 0 BUTTON_RIGHTSTICK 0 0' /opt/hypseus-singe/hypinput.ini

printf "\nUpdate boot text to reflect current version of ArkOS\n" | tee -a "$LOG_FILE"
sudo sed -i "/title\=/c\title\=ArkOS 2.0 (02012025)-3" /usr/share/plymouth/themes/text.plymouth

touch "$UPDATE_DONE"
rm -v -- "$0" | tee -a "$LOG_FILE"
printf "\033c" >> /dev/tty1
Expand Down
17 changes: 15 additions & 2 deletions Update-RG351MP.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash
clear
UPDATE_DATE="02012025-2"
UPDATE_DATE="02012025-3"
LOG_FILE="/home/ark/update$UPDATE_DATE.log"
UPDATE_DONE="/home/ark/.config/.update$UPDATE_DATE"

Expand Down Expand Up @@ -7264,7 +7264,7 @@ if [ ! -f "/home/ark/.config/.update01312025" ]; then

fi

if [ ! -f "$UPDATE_DONE" ]; then
if [ ! -f "/home/ark/.config/.update02012025-2" ]; then

printf "\nFix potential battery reading issue from 01312025 update for rk3566 devices\n" | tee -a "$LOG_FILE"
sudo rm -rf /dev/shm/*
Expand Down Expand Up @@ -7313,6 +7313,19 @@ if [ ! -f "$UPDATE_DONE" ]; then
printf "\nUpdate boot text to reflect current version of ArkOS\n" | tee -a "$LOG_FILE"
sudo sed -i "/title\=/c\title\=ArkOS 2.0 ($UPDATE_DATE)" /usr/share/plymouth/themes/text.plymouth

touch "/home/ark/.config/.update02012025-2"

fi

if [ ! -f "$UPDATE_DONE" ]; then

printf "\nFix PortMaster\nAdd KEY_SERVICE to RIGHTSTICK button for Hypseus-Singe\n" | tee -a "$LOG_FILE"

sed -i '/KEY_SERVICE \= SDLK_9 0 0 0 0/c\KEY_SERVICE \= SDLK_9 0 BUTTON_RIGHTSTICK 0 0' /opt/hypseus-singe/hypinput.ini

printf "\nUpdate boot text to reflect current version of ArkOS\n" | tee -a "$LOG_FILE"
sudo sed -i "/title\=/c\title\=ArkOS 2.0 (02012025)-3" /usr/share/plymouth/themes/text.plymouth

touch "$UPDATE_DONE"
rm -v -- "$0" | tee -a "$LOG_FILE"
printf "\033c" >> /dev/tty1
Expand Down
17 changes: 15 additions & 2 deletions Update-RG351V.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash
clear

UPDATE_DATE="02012025-2"
UPDATE_DATE="02012025-3"
LOG_FILE="/home/ark/update$UPDATE_DATE.log"
UPDATE_DONE="/home/ark/.config/.update$UPDATE_DATE"

Expand Down Expand Up @@ -8010,7 +8010,7 @@ if [ ! -f "/home/ark/.config/.update01312025" ]; then

fi

if [ ! -f "$UPDATE_DONE" ]; then
if [ ! -f "/home/ark/.config/.update02012025-2" ]; then

printf "\nFix potential battery reading issue from 01312025 update for rk3566 devices\n" | tee -a "$LOG_FILE"
sudo rm -rf /dev/shm/*
Expand Down Expand Up @@ -8059,6 +8059,19 @@ if [ ! -f "$UPDATE_DONE" ]; then
printf "\nUpdate boot text to reflect current version of ArkOS\n" | tee -a "$LOG_FILE"
sudo sed -i "/title\=/c\title\=ArkOS 2.0 ($UPDATE_DATE)" /usr/share/plymouth/themes/text.plymouth

touch "/home/ark/.config/.update02012025-2"

fi

if [ ! -f "$UPDATE_DONE" ]; then

printf "\nFix PortMaster\nAdd KEY_SERVICE to RIGHTSTICK button for Hypseus-Singe\n" | tee -a "$LOG_FILE"

sed -i '/KEY_SERVICE \= SDLK_9 0 0 0 0/c\KEY_SERVICE \= SDLK_9 0 BUTTON_RIGHTSTICK 0 0' /opt/hypseus-singe/hypinput.ini

printf "\nUpdate boot text to reflect current version of ArkOS\n" | tee -a "$LOG_FILE"
sudo sed -i "/title\=/c\title\=ArkOS 2.0 (02012025)-3" /usr/share/plymouth/themes/text.plymouth

touch "$UPDATE_DONE"
rm -v -- "$0" | tee -a "$LOG_FILE"
printf "\033c" >> /dev/tty1
Expand Down
17 changes: 15 additions & 2 deletions Update-RG353M.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash
clear
UPDATE_DATE="02012025-2"
UPDATE_DATE="02012025-3"
LOG_FILE="/home/ark/update$UPDATE_DATE.log"
UPDATE_DONE="/home/ark/.config/.update$UPDATE_DATE"

Expand Down Expand Up @@ -6017,7 +6017,7 @@ if [ ! -f "/home/ark/.config/.update02012025" ]; then

fi

if [ ! -f "$UPDATE_DONE" ]; then
if [ ! -f "/home/ark/.config/.update02012025-2" ]; then

printf "\nFix potential battery reading issue from 01312025 update for rk3566 devices\n" | tee -a "$LOG_FILE"
sudo rm -rf /dev/shm/*
Expand Down Expand Up @@ -6066,6 +6066,19 @@ if [ ! -f "$UPDATE_DONE" ]; then
printf "\nUpdate boot text to reflect current version of ArkOS\n" | tee -a "$LOG_FILE"
sudo sed -i "/title\=/c\title\=ArkOS 2.0 ($UPDATE_DATE)" /usr/share/plymouth/themes/text.plymouth

touch "/home/ark/.config/.update02012025-2"

fi

if [ ! -f "$UPDATE_DONE" ]; then

printf "\nFix PortMaster\nAdd KEY_SERVICE to RIGHTSTICK button for Hypseus-Singe\n" | tee -a "$LOG_FILE"

sed -i '/KEY_SERVICE \= SDLK_9 0 0 0 0/c\KEY_SERVICE \= SDLK_9 0 BUTTON_RIGHTSTICK 0 0' /opt/hypseus-singe/hypinput.ini

printf "\nUpdate boot text to reflect current version of ArkOS\n" | tee -a "$LOG_FILE"
sudo sed -i "/title\=/c\title\=ArkOS 2.0 (02012025)-3" /usr/share/plymouth/themes/text.plymouth

touch "$UPDATE_DONE"
rm -v -- "$0" | tee -a "$LOG_FILE"
printf "\033c" >> /dev/tty1
Expand Down
17 changes: 15 additions & 2 deletions Update-RG353V.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash
clear
UPDATE_DATE="02012025-2"
UPDATE_DATE="02012025-3"
LOG_FILE="/home/ark/update$UPDATE_DATE.log"
UPDATE_DONE="/home/ark/.config/.update$UPDATE_DATE"

Expand Down Expand Up @@ -6369,7 +6369,7 @@ if [ ! -f "/home/ark/.config/.update02012025" ]; then

fi

if [ ! -f "$UPDATE_DONE" ]; then
if [ ! -f "/home/ark/.config/.update02012025-2" ]; then

printf "\nFix potential battery reading issue from 01312025 update for rk3566 devices\n" | tee -a "$LOG_FILE"
sudo rm -rf /dev/shm/*
Expand Down Expand Up @@ -6418,6 +6418,19 @@ if [ ! -f "$UPDATE_DONE" ]; then
printf "\nUpdate boot text to reflect current version of ArkOS\n" | tee -a "$LOG_FILE"
sudo sed -i "/title\=/c\title\=ArkOS 2.0 ($UPDATE_DATE)" /usr/share/plymouth/themes/text.plymouth

touch "/home/ark/.config/.update02012025-2"

fi

if [ ! -f "$UPDATE_DONE" ]; then

printf "\nFix PortMaster\nAdd KEY_SERVICE to RIGHTSTICK button for Hypseus-Singe\n" | tee -a "$LOG_FILE"

sed -i '/KEY_SERVICE \= SDLK_9 0 0 0 0/c\KEY_SERVICE \= SDLK_9 0 BUTTON_RIGHTSTICK 0 0' /opt/hypseus-singe/hypinput.ini

printf "\nUpdate boot text to reflect current version of ArkOS\n" | tee -a "$LOG_FILE"
sudo sed -i "/title\=/c\title\=ArkOS 2.0 (02012025)-3" /usr/share/plymouth/themes/text.plymouth

touch "$UPDATE_DONE"
rm -v -- "$0" | tee -a "$LOG_FILE"
printf "\033c" >> /dev/tty1
Expand Down
17 changes: 15 additions & 2 deletions Update-RG503.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash
clear
UPDATE_DATE="02012025-2"
UPDATE_DATE="02012025-3"
LOG_FILE="/home/ark/update$UPDATE_DATE.log"
UPDATE_DONE="/home/ark/.config/.update$UPDATE_DATE"

Expand Down Expand Up @@ -6845,7 +6845,7 @@ if [ ! -f "/home/ark/.config/.update02012025" ]; then

fi

if [ ! -f "$UPDATE_DONE" ]; then
if [ ! -f "/home/ark/.config/.update02012025-2" ]; then

printf "\nFix potential battery reading issue from 01312025 update for rk3566 devices\n" | tee -a "$LOG_FILE"
sudo rm -rf /dev/shm/*
Expand Down Expand Up @@ -6894,6 +6894,19 @@ if [ ! -f "$UPDATE_DONE" ]; then
printf "\nUpdate boot text to reflect current version of ArkOS\n" | tee -a "$LOG_FILE"
sudo sed -i "/title\=/c\title\=ArkOS 2.0 ($UPDATE_DATE)" /usr/share/plymouth/themes/text.plymouth

touch "/home/ark/.config/.update02012025-2"

fi

if [ ! -f "$UPDATE_DONE" ]; then

printf "\nFix PortMaster\nAdd KEY_SERVICE to RIGHTSTICK button for Hypseus-Singe\n" | tee -a "$LOG_FILE"

sed -i '/KEY_SERVICE \= SDLK_9 0 0 0 0/c\KEY_SERVICE \= SDLK_9 0 BUTTON_RIGHTSTICK 0 0' /opt/hypseus-singe/hypinput.ini

printf "\nUpdate boot text to reflect current version of ArkOS\n" | tee -a "$LOG_FILE"
sudo sed -i "/title\=/c\title\=ArkOS 2.0 (02012025)-3" /usr/share/plymouth/themes/text.plymouth

touch "$UPDATE_DONE"
rm -v -- "$0" | tee -a "$LOG_FILE"
printf "\033c" >> /dev/tty1
Expand Down
17 changes: 15 additions & 2 deletions Update-RGB10.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash
clear

UPDATE_DATE="02012025-2"
UPDATE_DATE="02012025-3"
LOG_FILE="/home/ark/update$UPDATE_DATE.log"
UPDATE_DONE="/home/ark/.config/.update$UPDATE_DATE"

Expand Down Expand Up @@ -8486,7 +8486,7 @@ if [ ! -f "/home/ark/.config/.update01312025" ]; then

fi

if [ ! -f "$UPDATE_DONE" ]; then
if [ ! -f "/home/ark/.config/.update02012025-2" ]; then

printf "\nFix potential battery reading issue from 01312025 update for rk3566 devices\n" | tee -a "$LOG_FILE"
sudo rm -rf /dev/shm/*
Expand Down Expand Up @@ -8535,6 +8535,19 @@ if [ ! -f "$UPDATE_DONE" ]; then
printf "\nUpdate boot text to reflect current version of ArkOS\n" | tee -a "$LOG_FILE"
sudo sed -i "/title\=/c\title\=ArkOS 2.0 ($UPDATE_DATE)" /usr/share/plymouth/themes/text.plymouth

touch "/home/ark/.config/.update02012025-2"

fi

if [ ! -f "$UPDATE_DONE" ]; then

printf "\nFix PortMaster\nAdd KEY_SERVICE to RIGHTSTICK button for Hypseus-Singe\n" | tee -a "$LOG_FILE"

sed -i '/KEY_SERVICE \= SDLK_9 0 0 0 0/c\KEY_SERVICE \= SDLK_9 0 BUTTON_RIGHTSTICK 0 0' /opt/hypseus-singe/hypinput.ini

printf "\nUpdate boot text to reflect current version of ArkOS\n" | tee -a "$LOG_FILE"
sudo sed -i "/title\=/c\title\=ArkOS 2.0 (02012025)-3" /usr/share/plymouth/themes/text.plymouth

touch "$UPDATE_DONE"
rm -v -- "$0" | tee -a "$LOG_FILE"
printf "\033c" >> /dev/tty1
Expand Down
17 changes: 15 additions & 2 deletions Update-RGB10MAX.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash
clear

UPDATE_DATE="02012025-2"
UPDATE_DATE="02012025-3"
LOG_FILE="/home/ark/update$UPDATE_DATE.log"
UPDATE_DONE="/home/ark/.config/.update$UPDATE_DATE"

Expand Down Expand Up @@ -6439,7 +6439,7 @@ if [ ! -f "/home/ark/.config/.update01312025" ]; then

fi

if [ ! -f "$UPDATE_DONE" ]; then
if [ ! -f "/home/ark/.config/.update02012025-2" ]; then

printf "\nFix potential battery reading issue from 01312025 update for rk3566 devices\n" | tee -a "$LOG_FILE"
sudo rm -rf /dev/shm/*
Expand Down Expand Up @@ -6488,6 +6488,19 @@ if [ ! -f "$UPDATE_DONE" ]; then
printf "\nUpdate boot text to reflect current version of ArkOS\n" | tee -a "$LOG_FILE"
sudo sed -i "/title\=/c\title\=ArkOS 2.0 ($UPDATE_DATE)" /usr/share/plymouth/themes/text.plymouth

touch "/home/ark/.config/.update02012025-2"

fi

if [ ! -f "$UPDATE_DONE" ]; then

printf "\nFix PortMaster\nAdd KEY_SERVICE to RIGHTSTICK button for Hypseus-Singe\n" | tee -a "$LOG_FILE"

sed -i '/KEY_SERVICE \= SDLK_9 0 0 0 0/c\KEY_SERVICE \= SDLK_9 0 BUTTON_RIGHTSTICK 0 0' /opt/hypseus-singe/hypinput.ini

printf "\nUpdate boot text to reflect current version of ArkOS\n" | tee -a "$LOG_FILE"
sudo sed -i "/title\=/c\title\=ArkOS 2.0 (02012025)-3" /usr/share/plymouth/themes/text.plymouth

touch "$UPDATE_DONE"
rm -v -- "$0" | tee -a "$LOG_FILE"
printf "\033c" >> /dev/tty1
Expand Down
17 changes: 15 additions & 2 deletions Update-RGB20PRO.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash
clear
UPDATE_DATE="02012025-2"
UPDATE_DATE="02012025-3"
LOG_FILE="/home/ark/update$UPDATE_DATE.log"
UPDATE_DONE="/home/ark/.config/.update$UPDATE_DATE"

Expand Down Expand Up @@ -636,7 +636,7 @@ if [ ! -f "/home/ark/.config/.update02012025" ]; then

fi

if [ ! -f "$UPDATE_DONE" ]; then
if [ ! -f "/home/ark/.config/.update02012025-2" ]; then

printf "\nFix potential battery reading issue from 01312025 update for rk3566 devices\n" | tee -a "$LOG_FILE"
sudo rm -rf /dev/shm/*
Expand Down Expand Up @@ -685,6 +685,19 @@ if [ ! -f "$UPDATE_DONE" ]; then
printf "\nUpdate boot text to reflect current version of ArkOS\n" | tee -a "$LOG_FILE"
sudo sed -i "/title\=/c\title\=ArkOS 2.0 ($UPDATE_DATE)" /usr/share/plymouth/themes/text.plymouth

touch "/home/ark/.config/.update02012025-2"

fi

if [ ! -f "$UPDATE_DONE" ]; then

printf "\nFix PortMaster\nAdd KEY_SERVICE to RIGHTSTICK button for Hypseus-Singe\n" | tee -a "$LOG_FILE"

sed -i '/KEY_SERVICE \= SDLK_9 0 0 0 0/c\KEY_SERVICE \= SDLK_9 0 BUTTON_RIGHTSTICK 0 0' /opt/hypseus-singe/hypinput.ini

printf "\nUpdate boot text to reflect current version of ArkOS\n" | tee -a "$LOG_FILE"
sudo sed -i "/title\=/c\title\=ArkOS 2.0 (02012025)-3" /usr/share/plymouth/themes/text.plymouth

touch "$UPDATE_DONE"
rm -v -- "$0" | tee -a "$LOG_FILE"
printf "\033c" >> /dev/tty1
Expand Down
17 changes: 15 additions & 2 deletions Update-RGB30.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash
clear
UPDATE_DATE="02012025-2"
UPDATE_DATE="02012025-3"
LOG_FILE="/home/ark/update$UPDATE_DATE.log"
UPDATE_DONE="/home/ark/.config/.update$UPDATE_DATE"

Expand Down Expand Up @@ -3332,7 +3332,7 @@ if [ ! -f "/home/ark/.config/.update02012025" ]; then

fi

if [ ! -f "$UPDATE_DONE" ]; then
if [ ! -f "/home/ark/.config/.update02012025-2" ]; then

printf "\nFix potential battery reading issue from 01312025 update for rk3566 devices\n" | tee -a "$LOG_FILE"
sudo rm -rf /dev/shm/*
Expand Down Expand Up @@ -3381,6 +3381,19 @@ if [ ! -f "$UPDATE_DONE" ]; then
printf "\nUpdate boot text to reflect current version of ArkOS\n" | tee -a "$LOG_FILE"
sudo sed -i "/title\=/c\title\=ArkOS 2.0 ($UPDATE_DATE)" /usr/share/plymouth/themes/text.plymouth

touch "/home/ark/.config/.update02012025-2"

fi

if [ ! -f "$UPDATE_DONE" ]; then

printf "\nFix PortMaster\nAdd KEY_SERVICE to RIGHTSTICK button for Hypseus-Singe\n" | tee -a "$LOG_FILE"

sed -i '/KEY_SERVICE \= SDLK_9 0 0 0 0/c\KEY_SERVICE \= SDLK_9 0 BUTTON_RIGHTSTICK 0 0' /opt/hypseus-singe/hypinput.ini

printf "\nUpdate boot text to reflect current version of ArkOS\n" | tee -a "$LOG_FILE"
sudo sed -i "/title\=/c\title\=ArkOS 2.0 (02012025)-3" /usr/share/plymouth/themes/text.plymouth

touch "$UPDATE_DONE"
rm -v -- "$0" | tee -a "$LOG_FILE"
printf "\033c" >> /dev/tty1
Expand Down
Loading

0 comments on commit f270739

Please sign in to comment.