This commit is contained in:
Your Name
2024-02-13 19:01:56 -06:00
parent 9365afc690
commit d1c940a7fa
2 changed files with 98 additions and 3 deletions

View File

@@ -2,7 +2,7 @@
set -x
# Test: sudo mount -o remount,rw /; cp /usr/comma/bg.org /usr/comma/bg.jpg
# Test: sudo mount -o remount,rw /; cp /usr/comma/bg.org /usr/comma/bg.jpg; bash shell/set_logo.sh
# Check if md5sum of /usr/comma/bg.jpg is not equal to md5sum of /data/openpilot/shell/bg.jpg
if [ "$(md5sum /usr/comma/bg.jpg | awk '{print $1}')" != "$(md5sum /data/openpilot/shell/bg.jpg | awk '{print $1}')" ]; then
@@ -26,9 +26,9 @@ if [ "$(md5sum /usr/comma/bg.jpg | awk '{print $1}')" != "$(md5sum /data/openpil
sudo cp /data/openpilot/shell/revert_logo.sh /usr/comma/revert_logo.sh
fi
if [[ "$(md5sum md5sum /usr/comma/comma.sh | awk '{print $1}')" != "642380ba4c0f00b16e9cf6e613f43eec" ]]; then
if [[ "$(md5sum md5sum /usr/comma/comma.sh | awk '{print $1}')" != "$(md5sum /data/openpilot/shell/usr_comma_comma.sh | awk '{print $1}')" ]; then
echo updated comma.sh
sudo cp /data/openpilot/shell/comma.sh /usr/comma/comma.sh
sudo cp /data/openpilot/shell/usr_comma_comma.sh /usr/comma/comma.sh
fi
echo Applied custom logo for comma boot sequence